From fd6b1ac82273f51bc1ab27cc054ae6bf0ee8a4bd Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Fri, 4 Apr 2014 17:59:26 +0900 Subject: [PATCH] Remove ProGuard warning Bug: 13662059 Change-Id: Ic90a882e82332b323bcd3617e5bc465f919bd921 --- java/proguard.flags | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/java/proguard.flags b/java/proguard.flags index c08a968bc..f7b7f2898 100644 --- a/java/proguard.flags +++ b/java/proguard.flags @@ -14,3 +14,10 @@ -keepclassmembers class * { native ; } + +# 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