commit | 4fd10882faa4a3e341c8e6c89f12c1579599c874 | [log] [tgz] |
---|---|---|
author | Gavin Corkery <gavincorkery@google.com> | Thu Nov 28 15:37:51 2019 +0000 |
committer | Gavin Corkery <gavincorkery@google.com> | Thu Nov 28 15:37:51 2019 +0000 |
tree | 9d9056fcf5a3f8ee02eb50f5ff18365bd754f04b | |
parent | 8c6790cc7ef208a3e976bc5f239e9de1ba8aef39 [diff] |
Check DELETE_ALL_USERS flag when uninstalling APEX Currently, uninstalling APEXs checks whether the userId is equal to UserHandle.USER_ALL, but recent changes mean that this will never be the case. Instead, pass the uninstall flags to uninstallApex() and only uninstall if the DELETE_ALL_USERS flag has been set. Test: atest RollbackManagerHostTest Bug: 145341792 Bug: 145313329 Change-Id: Iff02ae6d2aa6de2c824220f0248efb41d6190978