From b1b21d4eeaae27057ece50307723ec3d5de8f2e3 Mon Sep 17 00:00:00 2001 From: Ken Wakasa Date: Wed, 26 Jun 2013 17:58:39 +0900 Subject: [PATCH] Make sure to always keep native methods Saw a problem with proguard Change-Id: I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a --- java/proguard.flags | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/java/proguard.flags b/java/proguard.flags index d65924f7c..4da182b1f 100644 --- a/java/proguard.flags +++ b/java/proguard.flags @@ -9,3 +9,8 @@ -keepclassmembers class * { @com.android.inputmethod.annotations.ExternallyReferenced *; } + +# Keep native methods +-keep class * { +native ; +}