| commit | 0c4c18ff00b658f1838255f8f67c924d3d98ed47 | [log] [tgz] |
|---|---|---|
| author | Willie Koomson <wvk@google.com> | Mon Jun 23 02:52:29 2025 +0000 |
| committer | Willie Koomson <wvk@google.com> | Mon Jun 23 02:52:29 2025 +0000 |
| tree | e78d3e1f866cd2061c514384b2f9de63f97800c6 | |
| parent | a34fcae5bb187ba515e9dd4f9dc8f5b5571bfb77 [diff] |
Save ShortcutUser before rewriting ShortcutPackageItems This change modifies ShortcutService.injectSaveUser to save the ShortcutUser before rewriting ShortcutPackageItems. This way, if saveUserInternalLocked fails, we avoid deleting the ShortcutPackageItems (because we won't be able to rewrite them). Bug: 417712196 Test: Manually tested with repro steps from the bug Flag: EXEMPT bugfix Change-Id: I567b4d8efa0610da54dd96c84c038f1fde7b8cf2