commit | 50b5cb189c6ba888e80c55c2023b8764211adbb8 | [log] [tgz] |
---|---|---|
author | Songchun Fan <schfan@google.com> | Wed Sep 13 17:49:38 2023 -0700 |
committer | Songchun Fan <schfan@google.com> | Wed Sep 13 18:11:30 2023 -0700 |
tree | edb87e2fd7073d7ba9ea8a826c0c770ed99379ba | |
parent | b4dabb098e3b5c4e828b50990cce6028375c122d [diff] |
[pm] send replaced broadcasts for reinstall after DELETE_KEEP_DATA Such reinstallation should be considered as an app update with "replace", not a "new install". This makes sure that other services won't clean the data related to the existing package. BUG: 288142708 BUG: 300314921 Test: atest android.content.pm.cts.PackageManagerTest#testReinstallBroadcastsAfterDeleteKeepData Test: will add more tests Change-Id: I14341dc64640a0b2f4d434cef6936518f0be5f65