summaryrefslogtreecommitdiff
path: root/tests/SystemUIDemoModeController
diff options
context:
space:
mode:
author Julia Reynolds <juliacr@google.com> 2019-08-15 14:35:46 -0400
committer Julia Reynolds <juliacr@google.com> 2019-08-19 15:36:56 +0000
commita46a769411e0098ba77d9f4b01e1a4adda9cf08d (patch)
tree460e7d85acfd0d05de504a67839db1d95ae6f0b2 /tests/SystemUIDemoModeController
parentc6958aa69d9f8ba4531bb1e6cec89004c21d6eed (diff)
Better handle notification uid resolution for missing pkgs
system_process can post and cancel notifications on behalf of apps (e.g. AccountManagerService posting a 'please log into this account' notification). The cancellation signal for these notifications can happen after the app has been removed (indeed, the app removal might be the reason the system tries to cancel the notification). If the system tries to cancel a notification for a package that does not exist, log and return instead of throwing a SecurityException. A SecurityException will still be thrown if an app tries to post a notification for an app that doesn't exist. Test: atest Fixes: 138922329 Change-Id: Id315ebe7ae86f877ba62cfbe07efd14ac354a4d1
Diffstat (limited to 'tests/SystemUIDemoModeController')
0 files changed, 0 insertions, 0 deletions