mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
ResearchLogging log when preferences change
Bug: 6188932 Change-Id: I82a115aed30d7693f92d784a32b038996d8b71e3
This commit is contained in:
parent
d573bad5bd
commit
fa0bac9057
@ -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…
x
Reference in New Issue
Block a user