Proguard: keep SourceFile and LineNumber for crash reports

multisite
Floens 10 years ago
parent ff04e2d942
commit d764e1300c
  1. 3
      Clover/app/proguard.cfg
  2. 3
      Clover/app/src/main/java/org/floens/chan/core/settings/ChanSettings.java

@ -23,6 +23,9 @@
-dontskipnonpubliclibraryclasses
-verbose
# Keep sourcefile and linenumbers for easier crash report inspection
-keepattributes SourceFile,LineNumberTable
-keepattributes *Annotation*
-keep public class com.google.vending.licensing.ILicensingService
-keep public class com.android.vending.licensing.ILicensingService

@ -21,6 +21,7 @@ import android.content.SharedPreferences;
import android.os.Environment;
import org.floens.chan.Chan;
import org.floens.chan.R;
import org.floens.chan.chan.ChanUrls;
import org.floens.chan.ui.adapter.PostsFilter;
import org.floens.chan.ui.cell.PostCellInterface;
@ -117,7 +118,7 @@ public class ChanSettings {
theme = new StringSetting(p, "preference_theme", "light");
boolean tablet = false;
boolean tablet = AndroidUtils.getRes().getBoolean(R.bool.is_tablet);
fontSize = new StringSetting(p, "preference_font", tablet ? "16" : "14");
openLinkConfirmation = new BooleanSetting(p, "preference_open_link_confirmation", true);

Loading…
Cancel
Save