commit | 7983f2b7154d246c24d98ff7edc52c8d69c853d4 | [log] [tgz] |
---|---|---|
author | Julia Reynolds <juliacr@google.com> | Tue Apr 02 15:58:15 2024 -0400 |
committer | Julia Reynolds <juliacr@google.com> | Fri Apr 12 13:24:20 2024 +0000 |
tree | 8510fb14af9b23e4d888a5924fd41f2208ed63d0 | |
parent | 42650607fca960117731b0e81adb6f4c23100140 [diff] |
Make tracking notification ttls more performant By only using 1 alarm instead of 1 per notification. Also, enabled NMSTest to be parameterized with flags. This required some more mocking and cleanup steps to keep memory usage under control when running so many more tests. Test: NotificationManagerServiceTest Test: TimeToLiveHelperTest Bug: 331967355 Flag: com.android.server.notification.all_notifs_need_ttl DEV Change-Id: If6cff0fa4667b48def17c7ec1b4aa78340d335b7