commit | 48b546eccf3df2f180a1f4a0a83597fdcc2ff97a | [log] [tgz] |
---|---|---|
author | jasonwshsu <jasonwshsu@google.com> | Sun Jul 19 23:46:54 2020 +0800 |
committer | Jason Hsu <jasonwshsu@google.com> | Fri Oct 09 00:34:04 2020 +0000 |
tree | 9c943686a1b43a44be6df84c2515868d53420bff | |
parent | 26f1b5f65c8bf168eaf542f0f1020d6aa251554d [diff] |
Extract UserShortcutType functions from ToggleFeaturePreferenceFragment * Simplify StringJoiner to '+' since it only have one case * Simplify Collections usage to use removeIf() and findFirst() directly * Change class name SharedPreferenceUtils to PreferredShortcuts Bug: 158540780 Test: atest ToggleFeaturePreferenceFragmentTest Test: atest PreferredShortcutsTest Change-Id: I02f03ccba09b6d7edaa5c0c8223ab3561a5e976b