2012-10-03 08:36:45 +00:00
|
|
|
# Keep classes and methods that have the @UsedForTesting annotation
|
|
|
|
-keep @com.android.inputmethod.annotations.UsedForTesting class *
|
|
|
|
-keepclassmembers class * {
|
2013-06-26 09:06:53 +00:00
|
|
|
@com.android.inputmethod.annotations.UsedForTesting *;
|
2012-03-31 09:32:48 +00:00
|
|
|
}
|
|
|
|
|
2012-10-03 08:36:45 +00:00
|
|
|
# Keep classes and methods that have the @ExternallyReferenced annotation
|
|
|
|
-keep @com.android.inputmethod.annotations.ExternallyReferenced class *
|
|
|
|
-keepclassmembers class * {
|
2013-06-26 09:06:53 +00:00
|
|
|
@com.android.inputmethod.annotations.ExternallyReferenced *;
|
2012-05-23 08:37:20 +00:00
|
|
|
}
|
2013-06-26 08:58:39 +00:00
|
|
|
|
|
|
|
# Keep native methods
|
2013-06-26 09:06:53 +00:00
|
|
|
-keepclassmembers class * {
|
|
|
|
native <methods>;
|
2013-06-26 08:58:39 +00:00
|
|
|
}
|