|
1 |
| -# To enable ProGuard in your project, edit project.properties |
2 |
| -# to define the proguard.config property as described in that file. |
3 |
| -# |
4 |
| -# Add project specific ProGuard rules here. |
5 |
| -# By default, the flags in this file are appended to flags specified |
6 |
| -# in ${sdk.dir}/tools/proguard/proguard-android.txt |
7 |
| -# You can edit the include path and order by changing the ProGuard |
8 |
| -# include property in project.properties. |
9 |
| -# |
10 |
| -# For more details, see |
11 |
| -# http://developer.android.com/guide/developing/tools/proguard.html |
12 |
| - |
13 |
| -# Add any project specific keep options here: |
14 |
| - |
15 |
| -# If your project uses WebView with JS, uncomment the following |
16 |
| -# and specify the fully qualified class name to the JavaScript interface |
17 |
| -# class: |
18 |
| -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { |
19 |
| -# public *; |
20 |
| -#} |
| 1 | +-libraryjars libs/sqlcipher.jar |
| 2 | + |
| 3 | +-optimizationpasses 5 |
| 4 | +-dontusemixedcaseclassnames |
| 5 | +-dontskipnonpubliclibraryclasses |
| 6 | +-dontskipnonpubliclibraryclassmembers |
| 7 | +-dontpreverify |
| 8 | +-verbose |
| 9 | +-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable |
| 10 | + |
| 11 | +-keep public class * extends android.app.Activity |
| 12 | +-keep public class * extends android.app.Application |
| 13 | + |
| 14 | +-dontwarn javax.annotation.** |
| 15 | + |
| 16 | +-dontwarn android.app.** |
| 17 | +-dontwarn android.support.** |
| 18 | +-dontwarn android.view.** |
| 19 | +-dontwarn android.widget.** |
| 20 | + |
| 21 | +-dontwarn com.google.common.primitives.** |
| 22 | + |
| 23 | +-dontwarn **CompatHoneycomb |
| 24 | +-dontwarn **CompatHoneycombMR2 |
| 25 | +-dontwarn **CompatCreatorHoneycombMR2 |
| 26 | + |
| 27 | +-keepclasseswithmembernames class * { |
| 28 | + native <methods>; |
| 29 | +} |
| 30 | + |
| 31 | +-keepclasseswithmembers class * { |
| 32 | + public <init>(android.content.Context, android.util.AttributeSet); |
| 33 | +} |
| 34 | + |
| 35 | +-keepclasseswithmembers class * { |
| 36 | + public <init>(android.content.Context, android.util.AttributeSet, int); |
| 37 | +} |
| 38 | + |
| 39 | +-keepclassmembers class * extends android.app.Activity { |
| 40 | + public void *(android.view.View); |
| 41 | +} |
| 42 | + |
| 43 | +-keepclassmembers enum * { |
| 44 | + public static **[] values(); |
| 45 | + public static ** valueOf(java.lang.String); |
| 46 | +} |
| 47 | + |
| 48 | +-keep class * implements android.os.Parcelable { |
| 49 | + public static final android.os.Parcelable$Creator *; |
| 50 | +} |
| 51 | + |
| 52 | +-keepclassmembers class **.R$* { |
| 53 | + public static <fields>; |
| 54 | +} |
| 55 | + |
| 56 | +-keep public class net.sqlcipher.** { |
| 57 | + *; |
| 58 | +} |
| 59 | + |
| 60 | +-keep public class net.sqlcipher.database.** { |
| 61 | + *; |
| 62 | +} |
0 commit comments