From 37ff7fddeed7df913c6a1c6d37eb5a8c61cd58ec Mon Sep 17 00:00:00 2001 From: Mygod Date: Tue, 19 Dec 2017 13:28:44 -0800 Subject: [PATCH] Revert "Fix issues with proguard" This reverts commit 2202041e80deca9603fcae060a37f8d541a6b810. --- mobile/proguard-rules.pro | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/mobile/proguard-rules.pro b/mobile/proguard-rules.pro index ff20eb60..270d368e 100644 --- a/mobile/proguard-rules.pro +++ b/mobile/proguard-rules.pro @@ -12,12 +12,14 @@ # public *; #} +# Uncomment this to preserve the line number information for +# debugging stack traces. +-keepattributes SourceFile,LineNumberTable -dontobfuscate --keepattributes SourceFile,LineNumberTable,Signature --keepattributes *DatabaseField* --keepattributes *DatabaseTable* --keepattributes *SerializedName* +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile -dontwarn com.j256.ormlite.** -dontwarn com.google.android.gms.internal.** @@ -26,24 +28,3 @@ -dontwarn org.xbill.** -dontwarn com.evernote.android.job.gcm.** -dontwarn com.evernote.android.job.util.GcmAvailableHelper - --keep public class android.support.v7.widget.** { *; } --keep public class android.support.v7.internal.widget.** { *; } --keep public class android.support.v7.internal.view.menu.** { *; } - --keep public class * extends android.support.v4.view.ActionProvider { - public (android.content.Context); -} - --keep class com.github.shadowsocks** {*;} --keep interface com.github.shadowsocks** {*;} --keep enum com.github.shadowsocks** {*;} - --keep class com.j256.** --keepclassmembers class com.j256.** { *; } --keep enum com.j256.** --keepclassmembers enum com.j256.** { *; } --keep interface com.j256.** --keepclassmembers interface com.j256.** { *; } - --optimizations !code/allocation/variable