a91561aa58
Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
24 lines
981 B
Text
24 lines
981 B
Text
# Keep classes and methods that have the @UsedForTesting annotation
|
|
-keep @com.android.inputmethod.annotations.UsedForTesting class *
|
|
-keepclassmembers class * {
|
|
@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 *;
|
|
}
|
|
|
|
# Keep native methods
|
|
-keepclassmembers class * {
|
|
native <methods>;
|
|
}
|
|
|
|
# Keep classes that are used as a parameter type of methods that are also marked as keep
|
|
# to preserve changing those methods' signature.
|
|
-keep class com.android.inputmethod.latin.AssetFileAddress
|
|
-keep class com.android.inputmethod.latin.Dictionary
|
|
-keep class com.android.inputmethod.latin.PrevWordsInfo
|
|
-keep class com.android.inputmethod.latin.makedict.ProbabilityInfo
|
|
-keep class com.android.inputmethod.latin.utils.LanguageModelParam
|