Skip to content
Commit 9509bcab authored by Songchun Fan's avatar Songchun Fan
Browse files

[SettingsProvider] allow null values in validators

As discussed in b/165943447, null is an important indicator that a
sepecific Settings element is unset, and should be treated as valid
values that can be backed up.

We should remove the non-null restriction for most of the validators,
especially because SettingsBackupAgent already can handle null values.

BUG: 170131663
Test: atest SettingsValidatorsTest
Test: atest SettingsBackupAgentTest
Change-Id: Ie44a6de503d83716c63be5c8e7937f8c9eb928bc
parent 4a14b48d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment