Index: components/cronet/android/cronet_impl_common_proguard.cfg |
diff --git a/components/cronet/android/cronet_impl_common_proguard.cfg b/components/cronet/android/cronet_impl_common_proguard.cfg |
index 531394aff20497ab627c552490360638f5ec6a11..a4ecdcd3f588518b21c9fd9c8c443ab8f9e89042 100644 |
--- a/components/cronet/android/cronet_impl_common_proguard.cfg |
+++ b/components/cronet/android/cronet_impl_common_proguard.cfg |
@@ -3,4 +3,8 @@ |
# This constructor is called using the reflection from Cronet API (cronet_api.jar). |
-keep class org.chromium.net.impl.CronetEngineBuilderImpl { |
public <init>(android.content.Context); |
-} |
+} |
+ |
+# This class should be explicitly kept to avoid failure if |
+# class/merging/horizontal proguard optimization is enabled. |
+-keep class org.chromium.net.impl.ImplVersion |