-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
111 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Configuration for ProGuard | ||
# From http://proguard.sourceforge.net/index.html#/manual/examples.html#androidapplication | ||
|
||
-dontpreverify | ||
-repackageclasses '' | ||
-optimizations !code/simplification/arithmetic | ||
-keepattributes *Annotation* | ||
|
||
-keep public class * extends android.app.Activity | ||
-keep public class * extends android.app.Application | ||
-keep public class * extends android.app.Service | ||
-keep public class * extends android.content.BroadcastReceiver | ||
-keep public class * extends android.content.ContentProvider | ||
|
||
-keep public class * extends android.view.View { | ||
public <init>(android.content.Context); | ||
public <init>(android.content.Context, android.util.AttributeSet); | ||
public <init>(android.content.Context, android.util.AttributeSet, int); | ||
public void set*(...); | ||
} | ||
|
||
-keepclasseswithmembers class * { | ||
public <init>(android.content.Context, android.util.AttributeSet); | ||
} | ||
|
||
-keepclasseswithmembers class * { | ||
public <init>(android.content.Context, android.util.AttributeSet, int); | ||
} | ||
|
||
-keepclassmembers class * implements android.os.Parcelable { | ||
static android.os.Parcelable$Creator CREATOR; | ||
} | ||
|
||
-keepclassmembers class **.R$* { | ||
public static <fields>; | ||
} | ||
|
||
-keep public interface com.android.vending.licensing.ILicensingService | ||
|
||
-keepclasseswithmembernames class * { | ||
native <methods>; | ||
} | ||
|
||
-keepclassmembers class * extends java.lang.Enum { | ||
public static **[] values(); | ||
public static ** valueOf(java.lang.String); | ||
} | ||
|
||
# Removes all calls to Log. Delete the methods you want to keep. | ||
-assumenosideeffects class android.util.Log { | ||
public static int v(...); | ||
public static int d(...); | ||
public static int i(...); | ||
public static int w(...); | ||
public static int e(...); | ||
public static int wtf(...); | ||
} |