Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a
Change-Id: I741a12508a3a05e2e517e187a7f197e6a661eddb
diff --git a/java/proguard.flags b/java/proguard.flags
index 4da182b..c08a968 100644
--- a/java/proguard.flags
+++ b/java/proguard.flags
@@ -1,16 +1,16 @@
# Keep classes and methods that have the @UsedForTesting annotation
-keep @com.android.inputmethod.annotations.UsedForTesting class *
-keepclassmembers class * {
-@com.android.inputmethod.annotations.UsedForTesting *;
+ @com.android.inputmethod.annotations.UsedForTesting *;
}
# Keep classes and methods that have the @ExternallyReferenced annotation
-keep @com.android.inputmethod.annotations.ExternallyReferenced class *
-keepclassmembers class * {
-@com.android.inputmethod.annotations.ExternallyReferenced *;
+ @com.android.inputmethod.annotations.ExternallyReferenced *;
}
# Keep native methods
--keep class * {
-native <methods>;
+-keepclassmembers class * {
+ native <methods>;
}