am fa0bac90
: ResearchLogging log when preferences change
* commit 'fa0bac9057e2dbb0b1aacc6d748a8bcf12ac1462': ResearchLogging log when preferences change
This commit is contained in:
commit
0cf7aa5dfd
1 changed files with 13 additions and 0 deletions
|
@ -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 a new issue