Browse Source

Update version code in prep for release, enable color mode by default

master
Anthony Restaino 9 years ago
parent
commit
d7faeaa2fc
  1. 13
      app/build.gradle
  2. 2
      app/src/main/java/acr/browser/lightning/preference/PreferenceManager.java

13
app/build.gradle

@ -9,8 +9,7 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 14 minSdkVersion 14
targetSdkVersion 23 targetSdkVersion 23
versionName "4.2.3.1" versionName "4.3.0"
generatedDensities = [] generatedDensities = []
} }
@ -43,10 +42,11 @@ android {
applicationId "acr.browser.lightning" applicationId "acr.browser.lightning"
versionCode 85 versionCode 85
} }
lightningLite { lightningLite {
buildConfigField "boolean", "FULL_VERSION", "false" buildConfigField "boolean", "FULL_VERSION", "false"
applicationId "acr.browser.barebones" applicationId "acr.browser.barebones"
versionCode 86 versionCode 87
} }
} }
@ -68,6 +68,7 @@ dexcount {
} }
dependencies { dependencies {
// support libraries // support libraries
compile 'com.android.support:palette-v7:23.2.1' compile 'com.android.support:palette-v7:23.2.1'
compile 'com.android.support:appcompat-v7:23.2.1' compile 'com.android.support:appcompat-v7:23.2.1'
@ -93,16 +94,14 @@ dependencies {
// proxy support // proxy support
compile 'net.i2p.android:client:0.7' compile 'net.i2p.android:client:0.7'
// Use the following code to update the libnetcipher submodule // Use the following code to update the libnetcipher submodule
// git submodule foreach git reset --hard // git submodule foreach git reset --hard
// git submodule update --remote // git submodule update --remote
compile(project(':libnetcipher')) compile project(':libnetcipher')
// memory leak analysis // memory leak analysis
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta1' debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta1'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op: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' provided 'javax.annotation:jsr250-api:1.0'
} }

2
app/src/main/java/acr/browser/lightning/preference/PreferenceManager.java

@ -109,7 +109,7 @@ public class PreferenceManager {
} }
public boolean getColorModeEnabled() { public boolean getColorModeEnabled() {
return mPrefs.getBoolean(Name.ENABLE_COLOR_MODE, false); return mPrefs.getBoolean(Name.ENABLE_COLOR_MODE, true);
} }
public boolean getCookiesEnabled() { public boolean getCookiesEnabled() {

Loading…
Cancel
Save