2012-10-03 09:36:45 +01:00
|
|
|
# Keep classes and methods that have the @UsedForTesting annotation
|
|
|
|
-keep @com.android.inputmethod.annotations.UsedForTesting class *
|
|
|
|
-keepclassmembers class * {
|
2013-06-26 10:06:53 +01:00
|
|
|
@com.android.inputmethod.annotations.UsedForTesting *;
|
2012-03-31 10:32:48 +01:00
|
|
|
}
|
|
|
|
|
2012-10-03 09:36:45 +01:00
|
|
|
# Keep classes and methods that have the @ExternallyReferenced annotation
|
|
|
|
-keep @com.android.inputmethod.annotations.ExternallyReferenced class *
|
|
|
|
-keepclassmembers class * {
|
2013-06-26 10:06:53 +01:00
|
|
|
@com.android.inputmethod.annotations.ExternallyReferenced *;
|
2012-05-23 09:37:20 +01:00
|
|
|
}
|
2013-06-26 09:58:39 +01:00
|
|
|
|
|
|
|
# Keep native methods
|
2013-06-26 10:06:53 +01:00
|
|
|
-keepclassmembers class * {
|
|
|
|
native <methods>;
|
2013-06-26 09:58:39 +01:00
|
|
|
}
|
2014-04-04 09:59:26 +01:00
|
|
|
|
|
|
|
# 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
|
2014-05-23 12:18:17 +01:00
|
|
|
-keep class com.android.inputmethod.latin.PrevWordsInfo
|
|
|
|
-keep class com.android.inputmethod.latin.makedict.ProbabilityInfo
|
|
|
|
-keep class com.android.inputmethod.latin.utils.LanguageModelParam
|