Merge "Remove ref to LatinImeLogger preference."

main
Kurt Partridge 2013-05-10 20:41:52 +00:00 committed by Android (Google) Code Review
commit bb17034f64
1 changed files with 0 additions and 5 deletions

View File

@ -118,7 +118,6 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
private static final boolean FEEDBACK_DIALOG_SHOULD_PRESERVE_TEXT_FIELD = false;
/* package */ static boolean sIsLogging = false;
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
// testing.
/* 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) {
return;
}
sIsLogging = prefs.getBoolean(PREF_USABILITY_STUDY_MODE, false);
if (sIsLogging == false) {
abort();
}
requestIndicatorRedraw();
mPrefs = prefs;
prefsChanged(prefs);