commit | 533836ac7265b4f731f25fcc849378e9976a9fd5 | [log] [tgz] |
---|---|---|
author | Gus Prevas <kprevas@google.com> | Mon Sep 24 17:15:32 2018 -0400 |
committer | Gus Prevas <kprevas@google.com> | Mon Sep 24 17:28:31 2018 -0400 |
tree | 8bd85af10244f9f3432a95b47c0cb01685985faa | |
parent | 4dc09a4b82b8bd063105d1376c0c8b5cd95d7ab3 [diff] |
Checks keyguard earlier when blocking notifications. This change modifies NotificationInfo to call the provided keyguard callback when the "Stop notifications" button is tapped, rather than when trying to save the new importance value after the undo timeout. Test: updated test cases in NotificationInfoTest. Bug: 111416533 Change-Id: I89b4715d0d41be4587753f554862e51c4e1d43c3