summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2015-11-13 11:28:12 +0100
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2015-11-13 11:40:34 +0100
commitd30e0aea02efa0682d836808d79917dc8aadb93a (patch)
treef456d66fe24b4991608acdd125294a0ac4395eeb /android
parent8908920488f514e015610d21f00481857c08776f (diff)
android: rename "editMode" to "experimentalMode"
Change-Id: I3fcb7bb2fda925a1c5b2633ac7f6846fda0dabf8
Diffstat (limited to 'android')
-rw-r--r--android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java b/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java
index 7027e37d33bf..dba7cffbc7ca 100644
--- a/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java
+++ b/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java
@@ -58,7 +58,7 @@ public class LibreOfficeMainActivity extends AppCompatActivity {
private static GeckoLayerClient mLayerClient;
private static LOKitThread sLOKitThread;
- private static boolean mEnableEditing;
+ private static boolean mIsExperimentalMode;
private int providerId;
private URI documentUri;
@@ -89,7 +89,7 @@ public class LibreOfficeMainActivity extends AppCompatActivity {
}
public static boolean isExperimentalMode() {
- return mEnableEditing;
+ return mIsExperimentalMode;
}
public boolean usesTemporaryFile() {
@@ -103,7 +103,7 @@ public class LibreOfficeMainActivity extends AppCompatActivity {
super.onCreate(savedInstanceState);
SharedPreferences sPrefs = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
- mEnableEditing = sPrefs.getBoolean(ENABLE_EXPERIMENTAL_PREFS_KEY, false);
+ mIsExperimentalMode = sPrefs.getBoolean(ENABLE_EXPERIMENTAL_PREFS_KEY, false);
if (sPrefs.getInt(ASSETS_EXTRACTED_PREFS_KEY, 0) != BuildConfig.VERSION_CODE) {
if(copyFromAssets(getAssets(), "unpack", getApplicationInfo().dataDir)) {
@@ -302,8 +302,8 @@ public class LibreOfficeMainActivity extends AppCompatActivity {
Log.i(LOGTAG, "onResume..");
// check for config change
boolean bEnableExperimental = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).getBoolean(ENABLE_EXPERIMENTAL_PREFS_KEY, false);
- if (bEnableExperimental != mEnableEditing) {
- mEnableEditing = bEnableExperimental;
+ if (bEnableExperimental != mIsExperimentalMode) {
+ mIsExperimentalMode = bEnableExperimental;
}
}