|
1 | 1 | # Keep classes and methods that have the @UsedForTesting annotation |
2 | | --keep @com.android.inputmethod.annotations.UsedForTesting class * |
| 2 | +# TODO(b/373579455): Evaluate if <init> needs to be kept. |
| 3 | +-keep @com.android.inputmethod.annotations.UsedForTesting class * { |
| 4 | + void <init>(); |
| 5 | +} |
3 | 6 | -keepclassmembers class * { |
4 | 7 | @com.android.inputmethod.annotations.UsedForTesting *; |
5 | 8 | } |
6 | 9 |
|
7 | 10 | # Keep classes and methods that have the @ExternallyReferenced annotation |
8 | | --keep @com.android.inputmethod.annotations.ExternallyReferenced class * |
| 11 | +# TODO(b/373579455): Evaluate if <init> needs to be kept. |
| 12 | +-keep @com.android.inputmethod.annotations.ExternallyReferenced class * { |
| 13 | + void <init>(); |
| 14 | +} |
9 | 15 | -keepclassmembers class * { |
10 | 16 | @com.android.inputmethod.annotations.ExternallyReferenced *; |
11 | 17 | } |
|
17 | 23 |
|
18 | 24 | # Keep classes that are used as a parameter type of methods that are also marked as keep |
19 | 25 | # to preserve changing those methods' signature. |
20 | | --keep class com.android.inputmethod.latin.AssetFileAddress |
21 | | --keep class com.android.inputmethod.latin.Dictionary |
22 | | --keep class com.android.inputmethod.latin.NgramContext |
23 | | --keep class com.android.inputmethod.latin.makedict.ProbabilityInfo |
24 | | --keep class com.android.inputmethod.latin.utils.LanguageModelParam |
| 26 | +# TODO(b/373579455): Evaluate if <init> needs to be kept. |
| 27 | +-keep class com.android.inputmethod.latin.AssetFileAddress { |
| 28 | + void <init>(); |
| 29 | +} |
| 30 | +# TODO(b/373579455): Evaluate if <init> needs to be kept. |
| 31 | +-keep class com.android.inputmethod.latin.Dictionary { |
| 32 | + void <init>(); |
| 33 | +} |
| 34 | +# TODO(b/373579455): Evaluate if <init> needs to be kept. |
| 35 | +-keep class com.android.inputmethod.latin.NgramContext { |
| 36 | + void <init>(); |
| 37 | +} |
| 38 | +# TODO(b/373579455): Evaluate if <init> needs to be kept. |
| 39 | +-keep class com.android.inputmethod.latin.makedict.ProbabilityInfo { |
| 40 | + void <init>(); |
| 41 | +} |
| 42 | +# TODO(b/373579455): Evaluate if <init> needs to be kept. |
| 43 | +-keep class com.android.inputmethod.latin.utils.LanguageModelParam { |
| 44 | + void <init>(); |
| 45 | +} |
25 | 46 |
|
26 | 47 | # TODO: remove once used in code. |
27 | 48 | -keep class com.android.inputmethod.keyboard.KeyboardLayout { *; } |
|
0 commit comments