diff options
| author | Menny Even Danan <menny@evendanan.net> | 2015-01-10 04:29:38 +0000 |
|---|---|---|
| committer | Menny Even Danan <menny@evendanan.net> | 2015-01-10 04:29:38 +0000 |
| commit | e19472ddd86a335d4185fc0a795ca68aee681848 (patch) | |
| tree | f4e4f6fcbfec098ac744759b70f448b9ba3f10df /proguard-rules.txt | |
| parent | 373f45612ac4540a21b2073174e0fd999baf9d2c (diff) | |
| download | AnySoftKeyboard-e19472ddd86a335d4185fc0a795ca68aee681848.tar.gz AnySoftKeyboard-e19472ddd86a335d4185fc0a795ca68aee681848.tar.bz2 | |
Enabling Proguard. Issue #384
Change-Id: I421a5be9e5c0693fcff3c9e1865bdadc89f0eb0a
Diffstat (limited to 'proguard-rules.txt')
| -rw-r--r-- | proguard-rules.txt | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/proguard-rules.txt b/proguard-rules.txt index b43bc6749..bd39fcf55 100644 --- a/proguard-rules.txt +++ b/proguard-rules.txt @@ -39,18 +39,17 @@ -keep class sun.misc.Unsafe { *; } ## https://code.google.com/p/google-gson/source/browse/trunk/examples/android-proguard-example/proguard.cfg -keepattributes Signature --keepattributes *Annotation* - --keepnames enum * { - public static **[] values(); - public static ** valueOf(java.lang.String); -} -keep public class * extends android.app.Application -keep public class * extends android.app.Service -keep public class * extends android.content.BroadcastReceiver --keep,allowobfuscation class com.anysoftkeyboard.IndirectlyInstantiated --keepclasseswithmembernames class * extends @com.anysoftkeyboard.IndirectlyInstantiated * { - public protected <init>(...); +-keep class com.anysoftkeyboard.IndirectlyInstantiated +-keepclasseswithmembernames @com.anysoftkeyboard.IndirectlyInstantiated interface * +-keep @com.anysoftkeyboard.IndirectlyInstantiated class * { + <init>(...); +} + +-keepclasseswithmembernames @com.anysoftkeyboard.IndirectlyInstantiated class * { + <init>(...); }
\ No newline at end of file |
