Chromium Code Reviews| Index: components/cronet/android/cronet_impl_native_proguard.cfg |
| diff --git a/components/cronet/android/cronet_impl_native_proguard.cfg b/components/cronet/android/cronet_impl_native_proguard.cfg |
| index 3d96717ad8b588cefee36e99e0cd93d8d7e51e60..620428569181532a2da181b479c483dde2996148 100644 |
| --- a/components/cronet/android/cronet_impl_native_proguard.cfg |
| +++ b/components/cronet/android/cronet_impl_native_proguard.cfg |
| @@ -1,5 +1,10 @@ |
| # Proguard config for apps that depend on cronet_impl_native_java.jar. |
| +# This constructor is called using the reflection from Cronet API (cronet_api.jar). |
| +-keep class org.chromium.net.impl.NativeCronetProvider { |
| + public <init>(android.content.Context); |
| +} |
|
pauljensen
2017/01/23 19:42:22
nit: can we instead do this via @UsedByReflection
kapishnikov
2017/01/23 22:14:55
Good suggestion. Done.
|
| + |
| # Suppress unnecessary warnings. |
| -dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver |
| -dontnote org.chromium.net.AndroidKeyStore |