summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Joanne Chung <joannechung@google.com> 2023-08-14 12:25:27 +0000
committer Joanne Chung <joannechung@google.com> 2023-08-16 09:10:23 +0000
commitcf71142cbba8b1720ec02731f0d7e9006d8fe611 (patch)
tree99d7c080f97a93cfb48b5ce6e91e9561e92cc19f /libs/androidfw/ObbFile.cpp
parent4db2da9c66f2c3cb5a5de1fc393fc1824d8d5081 (diff)
Not allow to register for the same PackageMonitorCallback
Add a limitation for PackageManager#registerPackageMonitorCallback() that not allow to register the same callback. We cannot limit the count of the registered client. Most of registered clients are different system service in the system_server, the count limitation will crash the system. Bug: 289567218 Test: atest FrameworksCorePackageMonitorTests Test: atest FrameworksCorePackageMonitorWithoutPermissionTests Test: manual. Boot success and the system registered callback can receive callback Change-Id: Ia79b4f49c0ac7cd8f3b11f6f2950c9b696fe2661
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions