From a015d810ea527f72fb2aca3a398b26b42b05643c Mon Sep 17 00:00:00 2001 From: Anthony Restaino Date: Tue, 29 Sep 2015 07:42:56 -0400 Subject: [PATCH] Fix UI bug caused by obfuscation --- app/build.gradle | 6 +++--- app/proguard-project.txt | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index aaf4c35..070918d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,7 +7,7 @@ android { defaultConfig { minSdkVersion 14 targetSdkVersion 23 - versionName "4.2.1a" + versionName "4.2.2a" } sourceSets { lightningPlus.setRoot('src/LightningPlus') @@ -30,12 +30,12 @@ android { lightningPlus { buildConfigField "boolean", "FULL_VERSION", "true" applicationId "acr.browser.lightning" - versionCode 82 + versionCode 83 } lightningLite { buildConfigField "boolean", "FULL_VERSION", "false" applicationId "acr.browser.barebones" - versionCode 83 + versionCode 84 } } lintOptions { diff --git a/app/proguard-project.txt b/app/proguard-project.txt index edc15dc..40cddda 100644 --- a/app/proguard-project.txt +++ b/app/proguard-project.txt @@ -50,6 +50,18 @@ public static *** i(...); } +-keep class butterknife.** { *; } +-dontwarn butterknife.internal.** +-keep class **$$ViewBinder { *; } + +-keepclasseswithmembernames class * { + @butterknife.* ; +} + +-keepclasseswithmembernames class * { + @butterknife.* ; +} + # this will fix a force close in ReadingActivity -keep public class org.jsoup.** { public *;