am fdf92658: am 8beeef5d: Merge changes Ie980d38a,Ia7ee65e7 into jb-mr1-dev

* commit 'fdf926580876a313ddfb07b7625914a8d77852e1':
  ResearchLogging upload via service
  ResearchLogging log when preferences change
main
Kurt Partridge 2012-08-20 09:44:53 -07:00 committed by Android Git Automerger
commit 568c714e99
1 changed files with 11 additions and 0 deletions

View File

@ -778,6 +778,17 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
researchLogger.enqueueEvent(EVENTKEYS_PREFS_CHANGED, values);
}
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 = {