commit | 964943ab98874a91be04f9ea2137861c93f6ffd3 | [log] [tgz] |
---|---|---|
author | Michal Karpinski <mkarpinski@google.com> | Fri Jan 19 16:28:26 2018 +0000 |
committer | Michal Karpinski <mkarpinski@google.com> | Fri Jan 19 19:40:46 2018 +0000 |
tree | cf7a2f2508dc67ced05cc4649fc4ea6c13e4922e | |
parent | 8f0d71e3ee99cb3cee8409ec7b5448282aaadce7 [diff] |
Add validators for all Settings.Secure settings that are backed up A few no longer used settings were removed from SETTINGS_TO_BACKUP. And extend the unit test to fail if new ones are added without a validator. Also fail to boot in that case. Ref: go/android-p-backed-up-settings Test: atest frameworks/base/core/tests/coretests/src/android/provider/SettingsValidatorsTest.java Bug: 64988620 Change-Id: I94b4039c9f54c341aec72b62579be3dd8bd84dbb