commit | 9da55a7a38b5bf4b5731fa8ef6fb61e1398e5322 | [log] [tgz] |
---|---|---|
author | Matt Pietal <mpietal@google.com> | Wed Jun 10 15:36:54 2020 -0400 |
committer | Matt Pietal <mpietal@google.com> | Thu Jun 11 14:51:56 2020 -0400 |
tree | a7453c411e378b71fa60be825d2bec9741c157de | |
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