summaryrefslogtreecommitdiff
path: root/core/java/android/util/FastImmutableArraySet.java
diff options
context:
space:
mode:
authorPinyao Ting <pinyaoting@google.com>2022-06-01 14:43:45 -0700
committerPinyao Ting <pinyaoting@google.com>2022-06-01 15:16:31 -0700
commitd869d274556a7b52488396b3e27725615eecf433 (patch)
treeb429aade6495ab8b13ef45ac1c9dae348a8c6356 /core/java/android/util/FastImmutableArraySet.java
parent92538a9dbc5a3fd6ef7f38e638b688265169f62b (diff)
Fix the issue pinned shortcuts went missing after reboot
A performance improvement was made in a previous CL which refrains from saving all shortcuts from all packages whenever a change was made, rather, we will now only persists all shortcuts from specific package that were changed by the event. However that CL failed to address the event when shortcuts are pinned by a launcher. When a shortcut is pinned, both the package that owns the shortcut and the launcher that is pinning the shortcut needs to be persisted to disk. This CL completes the second half of the story by persisting the pinned state after pinned state is updated. Bug: 232775206 Test: manual Change-Id: Ib673f96c5e1233284c3660ddb4ac0a0d91356924
Diffstat (limited to 'core/java/android/util/FastImmutableArraySet.java')
0 files changed, 0 insertions, 0 deletions