Show sticky HUN for 60s instead of forever
Bug: 243421660
Test: atest NotificationEntryTest,
AlertingNotificationManagerTest, HeadsUpManagerTest
Test: send notif with FSI, deny permission via flag
- When locked, HUN shows instead of FSI.
- Pulsing HUN hides after 60s.
- Unlocked HUN hides after 60s.
- If we update with FSI at 30s, HUN still hides at 60s after
creation.
- However if we update with no FSI at 30s, HUN hides at 35s after
initial creation.
- Once a notification is created or updated without FSI, it is
permanently demoted and any updates after that (with or without
FSI) extend HUN lifetime by the usual 5 seconds.
Change-Id: I4add28ba36897326906d81298eb8575ccc14b056
Loading
Please register or sign in to comment