Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1a646cd2 authored by Pinyao Ting's avatar Pinyao Ting
Browse files

Refrain from re-writing xml after package removal

This CL removes the logic to rewrite shortcuts.xml after a package
removal.

Historically all shortcuts were persisted in a single file, which
implies the file needs to be updated after a package is removed. This is
no longer the case since afrer ag/11301492 shortcuts from each
individual package are splitted into separate files, corresponding xml
is removed along with the package, so a re-write is not necessary.

For shortcuts that are pinned to launcher, these shortcuts are persisted
to xml file only during backup. We don't currently update that xml
during package removal.


Bug: 195994150
Test: atest ShortcutManagerTest1 ShortcutManagerTest2 ShortcutManagerTest3 ShortcutManagerTest4 ShortcutManagerTest5 ShortcutManagerTest6 ShortcutManagerTest7 ShortcutManagerTest8 ShortcutManagerTest9 ShortcutManagerTest10 ShortcutManagerTest11
Test: atest CtsShortcutManagerTestCases
Change-Id: I2283b7b3ce9cb157e7cc4a9f2a0de168a5ce8b72
parent da143d4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment