diff options
| author | 2018-05-17 18:49:24 +0100 | |
|---|---|---|
| committer | 2018-05-22 11:11:58 +0100 | |
| commit | 4451179411f4a84d2b64c5306371b186e510ad3c (patch) | |
| tree | 9f44604d33650406e605027b4faa0fa52f7157e2 /libs/hwui/Program.cpp | |
| parent | 3a95d0bb94b72fd5884de486f3c602ee2d646cc5 (diff) | |
Allow restore of settings with nullable components
Creates a new settings validator that allows for null components, which
have semantic meaning for certain settings (in this case, that no
service is selected).
Bug: 79925290
Test: 1) atest SettingsValidatorsTest
2) Manual:
- In Settings UI, select "None" for autofill service and accessibility
shortcut target
- "adb backup -keyvalue -f nullsettings.ab com.android.providers.settings"
- "adb restore nullsettings.ab"
- Verify no crashes and that autofill service and accessibility shortcut
target both have "None" in Settings UI
Change-Id: I159b3f4706c6b981a30437c31724b106eb4e3f2a
Diffstat (limited to 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions