am bb17034f: Merge "Remove ref to LatinImeLogger preference."
* commit 'bb17034f6403261681b63a2f789566a27c49af07': Remove ref to LatinImeLogger preference.main
commit
026b2645c8
|
@ -118,7 +118,6 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
private static final boolean FEEDBACK_DIALOG_SHOULD_PRESERVE_TEXT_FIELD = false;
|
private static final boolean FEEDBACK_DIALOG_SHOULD_PRESERVE_TEXT_FIELD = false;
|
||||||
/* package */ static boolean sIsLogging = false;
|
/* package */ static boolean sIsLogging = false;
|
||||||
private static final int OUTPUT_FORMAT_VERSION = 5;
|
private static final int OUTPUT_FORMAT_VERSION = 5;
|
||||||
private static final String PREF_USABILITY_STUDY_MODE = "usability_study_mode";
|
|
||||||
// Whether all words should be recorded, leaving unsampled word between bigrams. Useful for
|
// Whether all words should be recorded, leaving unsampled word between bigrams. Useful for
|
||||||
// testing.
|
// testing.
|
||||||
/* package for test */ static final boolean IS_LOGGING_EVERYTHING = false
|
/* package for test */ static final boolean IS_LOGGING_EVERYTHING = false
|
||||||
|
@ -466,10 +465,6 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
if (key == null || prefs == null) {
|
if (key == null || prefs == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
sIsLogging = prefs.getBoolean(PREF_USABILITY_STUDY_MODE, false);
|
|
||||||
if (sIsLogging == false) {
|
|
||||||
abort();
|
|
||||||
}
|
|
||||||
requestIndicatorRedraw();
|
requestIndicatorRedraw();
|
||||||
mPrefs = prefs;
|
mPrefs = prefs;
|
||||||
prefsChanged(prefs);
|
prefsChanged(prefs);
|
||||||
|
|
Loading…
Reference in New Issue