From d7faeaa2fc11ca02763845f3daf14d4e12ac9dcc Mon Sep 17 00:00:00 2001 From: Anthony Restaino Date: Tue, 22 Mar 2016 23:39:06 -0400 Subject: [PATCH] Update version code in prep for release, enable color mode by default --- app/build.gradle | 13 ++++++------- .../lightning/preference/PreferenceManager.java | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 3553b98..bb01b7a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,8 +9,7 @@ android { defaultConfig { minSdkVersion 14 targetSdkVersion 23 - versionName "4.2.3.1" - + versionName "4.3.0" generatedDensities = [] } @@ -43,10 +42,11 @@ android { applicationId "acr.browser.lightning" versionCode 85 } + lightningLite { buildConfigField "boolean", "FULL_VERSION", "false" applicationId "acr.browser.barebones" - versionCode 86 + versionCode 87 } } @@ -68,6 +68,7 @@ dexcount { } dependencies { + // support libraries compile 'com.android.support:palette-v7:23.2.1' compile 'com.android.support:appcompat-v7:23.2.1' @@ -93,16 +94,14 @@ dependencies { // proxy support compile 'net.i2p.android:client:0.7' + // Use the following code to update the libnetcipher submodule // git submodule foreach git reset --hard // git submodule update --remote - compile(project(':libnetcipher')) + compile project(':libnetcipher') // memory leak analysis debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta1' releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta1' -// compile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta1' - provided 'javax.annotation:jsr250-api:1.0' - } \ No newline at end of file diff --git a/app/src/main/java/acr/browser/lightning/preference/PreferenceManager.java b/app/src/main/java/acr/browser/lightning/preference/PreferenceManager.java index 3ebafc3..3899dda 100644 --- a/app/src/main/java/acr/browser/lightning/preference/PreferenceManager.java +++ b/app/src/main/java/acr/browser/lightning/preference/PreferenceManager.java @@ -109,7 +109,7 @@ public class PreferenceManager { } public boolean getColorModeEnabled() { - return mPrefs.getBoolean(Name.ENABLE_COLOR_MODE, false); + return mPrefs.getBoolean(Name.ENABLE_COLOR_MODE, true); } public boolean getCookiesEnabled() {