Commit e8bb0272 authored by tobiasjs's avatar tobiasjs Committed by Commit bot

Remove the proguard keep rule for AwDebug now @UsedByReflection works.

BUG=541543

Review-Url: https://codereview.chromium.org/2364733004
Cr-Commit-Position: refs/heads/master@{#420612}
parent 7ec6d579
...@@ -50,11 +50,6 @@ ...@@ -50,11 +50,6 @@
} }
-dontnote com.android.webview.chromium.PlatformServiceBridgeGoogle -dontnote com.android.webview.chromium.PlatformServiceBridgeGoogle
# AwDebug is accessed by reflection.
-keep class org.chromium.android_webview.AwDebug {
public static boolean dumpWithoutCrashing(...);
}
#TODO(hush): remove after N release. crbug.com/546762 #TODO(hush): remove after N release. crbug.com/546762
-keep class com.android.webview.chromium.ContentSettingsAdapter { -keep class com.android.webview.chromium.ContentSettingsAdapter {
public void setDisabledActionModeMenuItems(int); public void setDisabledActionModeMenuItems(int);
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
package org.chromium.android_webview; package org.chromium.android_webview;
import org.chromium.base.annotations.JNINamespace; import org.chromium.base.annotations.JNINamespace;
import org.chromium.base.annotations.UsedByReflection;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
...@@ -16,6 +17,7 @@ import java.io.IOException; ...@@ -16,6 +17,7 @@ import java.io.IOException;
* the client of WebView. * the client of WebView.
*/ */
@JNINamespace("android_webview") @JNINamespace("android_webview")
@UsedByReflection("")
public class AwDebug { public class AwDebug {
/** /**
* Dump webview state (predominantly a minidump for all threads, * Dump webview state (predominantly a minidump for all threads,
...@@ -29,6 +31,7 @@ public class AwDebug { ...@@ -29,6 +31,7 @@ public class AwDebug {
* be able to be re-opened for reading and writing via its * be able to be re-opened for reading and writing via its
* canonical path. The file will be truncated upon re-opening. * canonical path. The file will be truncated upon re-opening.
*/ */
@UsedByReflection("")
public static boolean dumpWithoutCrashing(File dumpFile) { public static boolean dumpWithoutCrashing(File dumpFile) {
String dumpPath; String dumpPath;
try { try {
......
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