commit | a779f9c957757ec8fc1e3f4408fabce4c130052d | [log] [tgz] |
---|---|---|
author | Will <wleshner@google.com> | Tue Mar 22 16:55:44 2022 -0700 |
committer | Will <wleshner@google.com> | Thu Mar 24 10:12:28 2022 -0700 |
tree | 95e13572485cdba97a74eee1cf6edcf8f86f7594 | |
parent | 95387ac862c4c4f4a0eae942cdd95120cf1ebba6 [diff] |
Fix an ANR caused by the dream overlay status bar. Specifically, this ANR happened when attempting to compute the notification count in order to show a notification icon. The new strategy reacts to notification additions/subtractions rather than attempting to fetch all notifications every time the notifications change. Test: atest DreamOverlayStatusBarViewControllerTest, DreamOverlayNotificationCountProviderTest Bug: 225967369 Change-Id: Ied9453e8788448f957e5b70c7dae08022a993cc1