Compare aconfig flag value in SetttingsState and new storage

This change adds methods to compare the flag value in SettingsState and
the new storage during constructing of SettingsState.

Test: atest aconfigd_java_utils_test
SettingsProviderTest: com.android.providers.settings.SettingsStateTest
Bug: 339745562
Flag: Flags.enableAconfigStorageDaemon
Change-Id: Idcdf3732bd5037128dc24bc10ca9cbe1ac653f0b
2 files changed