[WebView Support Library] modify proguard rule for WebViewClientCompat
This modifies the proguard rule for WebViewClientCompat from "-keep" to
"-keepnames". This has the benefit of allowing proguard to remove this
class if it isn't used, while still enforcing that the name does not
change.
Bug: 110699575
Test: manual - compile app locally with proguard enabled
Change-Id: If88c81b47428839b627c01f3e14f8c0b46799931
diff --git a/webkit/proguard-rules.pro b/webkit/proguard-rules.pro
index 86756ab..f172b8c 100644
--- a/webkit/proguard-rules.pro
+++ b/webkit/proguard-rules.pro
@@ -13,4 +13,4 @@
# limitations under the License.
# Prevent WebViewClientCompat from being renamed, since chromium depends on this name.
--keep public class androidx.webkit.WebViewClientCompat { public *; }
+-keepnames public class androidx.webkit.WebViewClientCompat