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
4 files changed