commit | ebe03fcb4b287e107faea69f653a8761a92e5af1 | [log] [tgz] |
---|---|---|
author | Henrik Baard <henrik.baard@sony.com> | Fri Apr 30 19:19:58 2021 +0200 |
committer | Henrik Baard <henrik.baard@sony.com> | Tue May 04 22:18:04 2021 +0200 |
tree | 5b7ab8cedbae3d66b177ee3d118a6a5083ad3012 | |
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