diff options
author | Henrik Baard <henrik.baard@sony.com> | 2021-04-30 19:19:58 +0200 |
---|---|---|
committer | Henrik Baard <henrik.baard@sony.com> | 2021-05-04 22:18:04 +0200 |
commit | ebe03fcb4b287e107faea69f653a8761a92e5af1 (patch) | |
tree | 5b7ab8cedbae3d66b177ee3d118a6a5083ad3012 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9ef59ac901a87d30920db6aa8541bdaab67f7433 (diff) |
Cancel NotificationTimeout alarms when canceling notification
If alarms with long timeouts are created, there is a risk of a
crash in system_server because of alarm creation limit is reached:
java.lang.IllegalStateException: Maximum limit of concurrent alarms 500
reached for uid: 1000, callingPackage: android
To avoid this cancel alarms if Notifications are canceled.
Suggested-by: Snild Dolkow <snild@sony.com>
Bug: 186456631
Change-Id: I63343b9450fc817ec6a2f46329de346320463c46
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions