mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
fd6b1ac822
Bug: 13662059 Change-Id: Ic90a882e82332b323bcd3617e5bc465f919bd921
24 lines
925 B
Plaintext
24 lines
925 B
Plaintext
# 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.utils.LanguageModelParam
|
|
-keep class com.android.inputmethod.latin.AssetFileAddress
|
|
-keep class com.android.inputmethod.latin.makedict.ProbabilityInfo
|
|
-keep class com.android.inputmethod.latin.Dictionary
|