commit | 0e49b64f40779d6702d10078958031fa540b6138 | [log] [tgz] |
---|---|---|
author | Suprabh Shukla <suprabh@google.com> | Mon Mar 04 14:14:32 2019 -0800 |
committer | Suprabh Shukla <suprabh@google.com> | Mon Mar 18 16:35:47 2019 -0700 |
tree | e6f3520dbefc8e34edf7847d06a4253ea719a192 | |
parent | 47bfb774af695617be3bd69d5e8c52ba6b935686 [diff] |
Adding a per-uid cap on concurrent alarms Reasonably, it is seen that most apps have a low number of alarms inside alarm manager at any given time. In rare cases, app bugs can lead to spam resulting in memory and computation pressure on the system. (Also, removing some unused code) Test: atest FrameworksMockingServicesTests:AlarmManagerServiceTest atest CtsAlarmManagerTestCases Bug: 31832077 Change-Id: Ie537e644619a787b7a730dc567aafa0258ae57f0