Merge "ResearchLogging log when preferences change"
commit
cf504d5723
|
@ -407,6 +407,8 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
|||
abort();
|
||||
}
|
||||
requestIndicatorRedraw();
|
||||
mPrefs = prefs;
|
||||
prefsChanged(prefs);
|
||||
}
|
||||
|
||||
public void presentResearchDialog(final LatinIME latinIME) {
|
||||
|
@ -735,6 +737,17 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
|||
"UserFeedback", "FeedbackContents"
|
||||
};
|
||||
|
||||
private static final String[] EVENTKEYS_PREFS_CHANGED = {
|
||||
"PrefsChanged", "prefs"
|
||||
};
|
||||
public static void prefsChanged(final SharedPreferences prefs) {
|
||||
final ResearchLogger researchLogger = getInstance();
|
||||
final Object[] values = {
|
||||
prefs
|
||||
};
|
||||
researchLogger.enqueueEvent(EVENTKEYS_PREFS_CHANGED, values);
|
||||
}
|
||||
|
||||
// Regular logging methods
|
||||
|
||||
private static final String[] EVENTKEYS_MAINKEYBOARDVIEW_PROCESSMOTIONEVENT = {
|
||||
|
|
Loading…
Reference in New Issue