diff options
author | Matt Pietal <mpietal@google.com> | 2020-06-10 15:36:54 -0400 |
---|---|---|
committer | Matt Pietal <mpietal@google.com> | 2020-06-11 14:51:56 -0400 |
commit | 9da55a7a38b5bf4b5731fa8ef6fb61e1398e5322 (patch) | |
tree | a7453c411e378b71fa60be825d2bec9741c157de /startop/scripts/lib/cmd_utils.py | |
parent | a4614b0f1fa2b1aed944a659355a5a91c2a91c5d (diff) |
Controls UI - Correctly persist seeding state
It is incorrect to attempt to modify a Set that is returned from
SharedPreferences.getStringSet(). Won't work. Create a new Set.
Also handle the case on device restore, where we need to set the
seeded flag when controls exist.
Also fix the uninstall logic to look at the actual service list and
not the favorites list
Fixes: 158678748
Test: seed, remove all controls, and restart phone
Change-Id: I3dbc1c7cbac999b06b572b8348cf41617a73adde
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions