aboutsummaryrefslogtreecommitdiffstats
path: root/java/proguard.flags
blob: 24b4c19872cb47e5cf8ec5c76ea9d00ce7d72404 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
-keep class com.android.inputmethod.latin.BinaryDictionary {
  int mDictLength;
  <init>(...);
}

-keep class com.android.inputmethod.keyboard.ProximityInfo {
  <init>(com.android.inputmethod.keyboard.ProximityInfo);
}

-keep class com.android.inputmethod.latin.Suggest {
  <init>(...);
  com.android.inputmethod.latin.SuggestedWords getSuggestions(...);
}

-keep class com.android.inputmethod.latin.AutoCorrection {
  java.lang.CharSequence getAutoCorrectionWord();
}

-keep class com.android.inputmethod.latin.Utils {
  boolean equalsIgnoreCase(...);
}

-keep class com.android.inputmethod.latin.InputPointers {
  *;
}

-keep class com.android.inputmethod.latin.ResizableIntArray {
  *;
}

-keep class com.android.inputmethod.latin.spellcheck.SpellCheckerSettingsFragment {
  *;
}

-keep class com.android.inputmethod.keyboard.MainKeyboardView {
  # Keep getter/setter methods for ObjectAnimator
  int getLanguageOnSpacebarAnimAlpha();
  void setLanguageOnSpacebarAnimAlpha(int);
  int getAltCodeKeyWhileTypingAnimAlpha();
  void setAltCodeKeyWhileTypingAnimAlpha(int);
}

-keep class com.android.inputmethod.keyboard.MoreKeysKeyboard$Builder$MoreKeysKeyboardParams {
  <init>(...);
}

-keep class com.android.inputmethod.research.ResearchLogger {
  void flush();
  void publishCurrentLogUnit(...);
}

-keep class com.android.inputmethod.keyboard.KeyboardLayoutSet$Builder {
  void setTouchPositionCorrectionEnabled(...);
}

# The support library contains references to newer platform versions.
# Don't warn about those in case this app is linking against an older
# platform version.  We know about them, and they are safe.
-dontwarn android.support.v4.**
-dontwarn android.support.v13.**