aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/DebugSettings.java
diff options
context:
space:
mode:
authorKurt Partridge <kep@google.com>2013-02-28 11:18:42 -0800
committerKurt Partridge <kep@google.com>2013-03-04 12:05:03 -0800
commit75e6fb68e91b440707b399b22fbcfcd67760a949 (patch)
tree482a804352bbc65516b895e328fe8e8ba37df638 /java/src/com/android/inputmethod/latin/DebugSettings.java
parent788dc55662585dd41a3b29d114768f80a92d8fa8 (diff)
downloadlatinime-75e6fb68e91b440707b399b22fbcfcd67760a949.tar.gz
latinime-75e6fb68e91b440707b399b22fbcfcd67760a949.tar.xz
latinime-75e6fb68e91b440707b399b22fbcfcd67760a949.zip
Clean up PREF_USABILITY_STUDY_MODE
- Refer to a common default value in DebugSettings - Make PREF_USABILITY_STUDY_MODE independent of the ResearchLogger - ResearchLogger uses its own preference through ResearchSettings multi-project commit with Ie0df836c9d779eba484b522666ec357f4e234823 Change-Id: I88547a2f619db6e7364abbbec12f9f76855dd11a
Diffstat (limited to 'java/src/com/android/inputmethod/latin/DebugSettings.java')
-rw-r--r--java/src/com/android/inputmethod/latin/DebugSettings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/DebugSettings.java b/java/src/com/android/inputmethod/latin/DebugSettings.java
index 7df266ef2..c2aade64d 100644
--- a/java/src/com/android/inputmethod/latin/DebugSettings.java
+++ b/java/src/com/android/inputmethod/latin/DebugSettings.java
@@ -57,7 +57,7 @@ public final class DebugSettings extends PreferenceFragment
if (usabilityStudyPref instanceof CheckBoxPreference) {
final CheckBoxPreference checkbox = (CheckBoxPreference)usabilityStudyPref;
checkbox.setChecked(prefs.getBoolean(PREF_USABILITY_STUDY_MODE,
- ResearchLogger.DEFAULT_USABILITY_STUDY_MODE));
+ LatinImeLogger.getUsabilityStudyMode(prefs)));
checkbox.setSummary(R.string.settings_warning_researcher_mode);
}
final Preference statisticsLoggingPref = findPreference(PREF_STATISTICS_LOGGING);