commit | e93a6af4588fb39c1ef2b873c7f7dbae057b077f | [log] [tgz] |
---|---|---|
author | Joanne Chung <joannechung@google.com> | Wed Jul 05 11:16:19 2023 +0000 |
committer | Joanne Chung <joannechung@google.com> | Thu Jul 06 10:42:33 2023 +0000 |
tree | 69488b85ff4b6052c9944c181f09d9ba698cf8ff | |
parent | 5ac04e358cb88c0c0708bd46278662954e27e367 [diff] |
Handle user removed for PackageMonitorCallbackHelper Currently, when a user is removed from the system, the caller doesn't call unregister method. Even though the registerd clients are mostly use UserHandle.ALL now but we still need to handle it correctly to avoid leakage. Bug: 29385425 Test: manual. Create a user and remove user to make sure the method works as expected. Change-Id: Ibcdcdf29d552b5b0ea6ac877ce3956a900362870