Make sure to always keep native methods
Saw a problem with proguard Change-Id: I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a
This commit is contained in:
parent
a690f3bc40
commit
b1b21d4eea
1 changed files with 5 additions and 0 deletions
|
@ -9,3 +9,8 @@
|
|||
-keepclassmembers class * {
|
||||
@com.android.inputmethod.annotations.ExternallyReferenced *;
|
||||
}
|
||||
|
||||
# Keep native methods
|
||||
-keep class * {
|
||||
native <methods>;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue