ResearchLogging log when preferences change
DO NOT MERGE Bug: 6188932 Change-Id: Ia7ee65e7f3be10d031a065aaa6c3d18610c7dff0main
parent
221e756fd7
commit
c58f5d904b
|
@ -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