am fa0bac90: ResearchLogging log when preferences change
* commit 'fa0bac9057e2dbb0b1aacc6d748a8bcf12ac1462': ResearchLogging log when preferences changemain
commit
0cf7aa5dfd
|
@ -417,6 +417,8 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
requestIndicatorRedraw();
|
requestIndicatorRedraw();
|
||||||
|
mPrefs = prefs;
|
||||||
|
prefsChanged(prefs);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void presentResearchDialog(final LatinIME latinIME) {
|
public void presentResearchDialog(final LatinIME latinIME) {
|
||||||
|
@ -741,6 +743,17 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
"UserFeedback", "FeedbackContents"
|
"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
|
// Regular logging methods
|
||||||
|
|
||||||
private static final String[] EVENTKEYS_MAINKEYBOARDVIEW_PROCESSMOTIONEVENT = {
|
private static final String[] EVENTKEYS_MAINKEYBOARDVIEW_PROCESSMOTIONEVENT = {
|
||||||
|
|
Loading…
Reference in New Issue