OSDN Git Service

Introduce legacy settings restore whitelists
authorChristopher Tate <ctate@google.com>
Tue, 6 Jun 2017 20:30:00 +0000 (13:30 -0700)
committerChristopher Tate <ctate@google.com>
Tue, 6 Jun 2017 21:11:02 +0000 (14:11 -0700)
commit1d0fca3b413267f114f542cbc184288659b84912
tree4646868e12cd5e742ee85ae5aba87ab4d60dd08d
parente5ef67692ea9c53786ab82b458e0a5e8e34fdfac
Introduce legacy settings restore whitelists

On rare occasion we have settings keys that we no longer want to
back up, but which we *do* want to process at restore time for
support of legacy backup datasets.  We now have a little bit of
machinery for the idea of restore-only key whitelists, paralling
the SETTINGS_TO_BACKUP dual-purpose whitelists.

Bug 62263757
Test: manual

Change-Id: Ic32ad679bc4b5028dd52dc71e9ab5836a76307c4
core/java/android/provider/Settings.java
packages/SettingsProvider/src/com/android/providers/settings/SettingsBackupAgent.java