am 0cf7aa5d: am fa0bac90: ResearchLogging log when preferences change
* commit '0cf7aa5dfd192ccdabb9e5488b4ed9bf046147a2': ResearchLogging log when preferences changemain
commit
73c2c67789
|
@ -417,6 +417,8 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
|||
abort();
|
||||
}
|
||||
requestIndicatorRedraw();
|
||||
mPrefs = prefs;
|
||||
prefsChanged(prefs);
|
||||
}
|
||||
|
||||
public void presentResearchDialog(final LatinIME latinIME) {
|
||||
|
@ -741,6 +743,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