Browse Source

Removed commented out line that was being compiled...

seriously, every time I compiled the free version this line got compiled
as if it wasn't commented out. Regardless, it doesn't need to be there.
master
Anthony Restaino 9 years ago
parent
commit
3c51870486
  1. 6
      app/build.gradle
  2. 1
      app/src/main/java/acr/browser/lightning/fragment/GeneralSettingsFragment.java

6
app/build.gradle

@ -7,7 +7,7 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 14 minSdkVersion 14
targetSdkVersion 23 targetSdkVersion 23
versionName "4.2.3a" versionName "4.2.3.1"
} }
sourceSets { sourceSets {
lightningPlus.setRoot('src/LightningPlus') lightningPlus.setRoot('src/LightningPlus')
@ -30,12 +30,12 @@ android {
lightningPlus { lightningPlus {
buildConfigField "boolean", "FULL_VERSION", "true" buildConfigField "boolean", "FULL_VERSION", "true"
applicationId "acr.browser.lightning" applicationId "acr.browser.lightning"
versionCode 84 versionCode 85
} }
lightningLite { lightningLite {
buildConfigField "boolean", "FULL_VERSION", "false" buildConfigField "boolean", "FULL_VERSION", "false"
applicationId "acr.browser.barebones" applicationId "acr.browser.barebones"
versionCode 85 versionCode 86
} }
} }
lintOptions { lintOptions {

1
app/src/main/java/acr/browser/lightning/fragment/GeneralSettingsFragment.java

@ -143,7 +143,6 @@ public class GeneralSettingsFragment extends PreferenceFragment implements Prefe
boolean imagesBool = mPreferences.getBlockImagesEnabled(); boolean imagesBool = mPreferences.getBlockImagesEnabled();
boolean enableJSBool = mPreferences.getJavaScriptEnabled(); boolean enableJSBool = mPreferences.getJavaScriptEnabled();
// proxy.setEnabled(Constants.FULL_VERSION);
cbAds.setEnabled(Constants.FULL_VERSION); cbAds.setEnabled(Constants.FULL_VERSION);
cbFlash.setEnabled(API < 19); cbFlash.setEnabled(API < 19);

Loading…
Cancel
Save