Make sure to always keep native methods

Saw a problem with proguard

Change-Id: I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a
This commit is contained in:
Ken Wakasa 2013-06-26 17:58:39 +09:00
parent a690f3bc40
commit b1b21d4eea

View File

@ -9,3 +9,8 @@
-keepclassmembers class * { -keepclassmembers class * {
@com.android.inputmethod.annotations.ExternallyReferenced *; @com.android.inputmethod.annotations.ExternallyReferenced *;
} }
# Keep native methods
-keep class * {
native <methods>;
}