commit | 66acc13aefde36973305c469e429a814566807ed | [log] [tgz] |
---|---|---|
author | Bohdan Petrivskyy <bpetrivs@google.com> | Thu Nov 07 11:48:20 2019 +0000 |
committer | Bohdan Petrivskyy <bpetrivs@google.com> | Mon Dec 30 15:39:49 2019 +0000 |
tree | e7f65dae474bb4ea4eab0cdbc0b3eff2f1775a3f | |
parent | 61c760e7cb088b4f75ca5ab9369e84909a0042f2 [diff] |
Adds DeviceConfig flag configuration banning to SettingsProvider. When resetToDefault() is called on DeviceConfig before reset existing flag configuration is going to be banned. Next time setProperties() is called with some flag configuration a check will be done to verify if the configuration is not banned only if passed the write will be allowed to go through. Test: atest FrameworksCoreTests:DeviceConfigTest Bug: 136134408 Change-Id: I341f51632b131c1cfef85402906b7a0b6e18075b