commit | e794ceea6150a4d99760eb5f9e80dda46bd8545c | [log] [tgz] |
---|---|---|
author | Ruslan Tkhakokhov <rthakohov@google.com> | Mon Nov 25 16:05:52 2019 +0000 |
committer | Ruslan Tkhakokhov <rthakohov@google.com> | Thu Nov 28 20:33:42 2019 +0000 |
tree | a8ec2958bdd0b050c9f70fa08a28855282df37fe | |
parent | 9e111f19df8e5ee002e96499e80ba2bf325f0ceb [diff] |
Add a System API to block keys in KV restore BackupManager#excludeKeysFromRestore can be used to pass a list of keys that will be excluded from restore for the given package. It is useful in situations when a key being restored can cause bad UX on certain devices. Bug: 145126096 Test: atest KeyValueRestoreExclusionHostSideTest Change-Id: Ibbfd5e9196122c9bc3d31a3f0cc9430e433b9fd8