OSDN Git Service

Add historical logging to settings provider
authorSvetoslav Ganov <svetoslavganov@google.com>
Wed, 3 Aug 2016 01:24:49 +0000 (18:24 -0700)
committerSvetoslav Ganov <svetoslavganov@google.com>
Wed, 3 Aug 2016 22:48:44 +0000 (15:48 -0700)
commita340bfd7a1e639bb50125a62cfb1a14e2565607e
tree9d50aa41ec843a5da45cc4c8478fb775bc0140e2
parentba3d4f6ea18adf99453196f25bfe14c4d9b8468b
Add historical logging to settings provider

This change adds historical operations to the dump state
of the settings provider. The historica operations are
currently appended only on user-debug and eng builds.

These change is needed to help diagnose the referred
bug and improve the settings provider's maintenance.

bug:30561721

Change-Id: I58a1ba0d598c4d28adcb5e654ebb78cf947e94db
packages/SettingsProvider/src/com/android/providers/settings/EventLogTags.logtags
packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java
packages/SettingsProvider/src/com/android/providers/settings/SettingsState.java
packages/SettingsProvider/test/src/com/android/providers/settings/SettingsStateTest.java