diff options
author | Eric Anderson <ejona@google.com> | 2017-07-19 10:15:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-19 10:15:03 -0700 |
commit | d325919f628b4279dab95690d0f5d7611539948c (patch) | |
tree | 4dc1dc535c42f766a0668edb962942a746af6370 /android-interop-testing | |
parent | 8572f5ff6b1783069e04a52c4497c371883cfb6a (diff) | |
download | grpc-grpc-java-d325919f628b4279dab95690d0f5d7611539948c.tar.gz |
core: Use Class.forName(String) in provider for Android
Class.forName(String) is understood by ProGuard, removing the need for
manual ProGuard configuration and allows ProGuard to rename the provider
classes. Previously the provider classes could not be renamed.
Fixes #2633
Diffstat (limited to 'android-interop-testing')
-rw-r--r-- | android-interop-testing/app/proguard-rules.pro | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/android-interop-testing/app/proguard-rules.pro b/android-interop-testing/app/proguard-rules.pro index 46fb601f9..e02d143aa 100644 --- a/android-interop-testing/app/proguard-rules.pro +++ b/android-interop-testing/app/proguard-rules.pro @@ -18,5 +18,3 @@ -dontwarn sun.reflect.** # Ignores: can't find referenced class javax.lang.model.element.Modifier -dontwarn com.google.errorprone.annotations.** --keep class io.grpc.internal.DnsNameResolverProvider --keep class io.grpc.okhttp.OkHttpChannelProvider |