Commit f54fd2d5 authored by Nate Fischer's avatar Nate Fischer Committed by Commit Bot

AW: remove redundant proguard rule

This removes a redundant proguard rule to keep AwSafeBrowsingApiHandler.
This rule used to be meaningful when AwSafeBrowsingApiHandler was loaded
by reflection, but this is no longer true (it's still instantiated via
reflection, but that's handled elsewhere by annotating the constructor
with @UsedByReflection).

This is mostly a simplification, but this may be a small binary size
win, by permitting proguard/R8 to rename the class.

Bug: 985616
Test: manual - Safe Browsing still works
Change-Id: I501e42b44d776f9be2f39a69bf4aa49a2209fc18
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1711217Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
Reviewed-by: default avatarRichard Coles <torne@chromium.org>
Auto-Submit: Nate Fischer <ntfschr@chromium.org>
Commit-Queue: Richard Coles <torne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#679588}
parent eae1b089
......@@ -68,12 +68,6 @@
java.nio.channels.FileLock sExclusiveFileLock;
}
# Accessed via reflection but not present in all builds
-keep class com.android.webview.chromium.AwSafeBrowsingApiHandler {
AwSafeBrowsingApiHandler(...);
}
-dontnote com.android.webview.chromium.AwSafeBrowsingApiHandler
# We strip some unused resources when preprocessing the GMS client libs.
-dontwarn com.google.android.gms.R**
......
......@@ -71,12 +71,6 @@
java.nio.channels.FileLock sExclusiveFileLock;
}
# Accessed via reflection but not present in all builds
-keep class com.android.webview.chromium.AwSafeBrowsingApiHandler {
AwSafeBrowsingApiHandler(...);
}
-dontnote com.android.webview.chromium.AwSafeBrowsingApiHandler
# We strip some unused resources when preprocessing the GMS client libs.
-dontwarn com.google.android.gms.R**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment