summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Julia Tuttle <juliatuttle@google.com> 2024-03-20 15:40:16 -0400
committer Julia Tuttle <juliatuttle@google.com> 2024-03-22 12:49:15 -0400
commit93c3afadb54c4dce39433b98065207ebf9e8d6e9 (patch)
tree603b3318b5c56b16881a307222656828ca381769 /libs/androidfw/FileStream.cpp
parent8c0a2a1aea6f96a8578ad43dc5cd915609d89fb2 (diff)
NotificationInterruptStateProvider: suppress peek/pulse when app suspended
If an app is suspended in focus mode, we should suppress peek and pulse; otherwise, the notifications may *immediately* peek or pulse when focus mode ends. Modify the old NotificationInterruptStateProvider to suppress interruptions from suspended apps in canAlertCommon (which covers peek, pulse, and bubble) instead of just shouldBubbleUp. Note that, despite touching code in the visual interruptions refactor, this change is *not* related to or flagged by the refactor's feature flag; this is a long-standing omission in our interruption logic, not a bug in the refactored code. Bug: 329620290 Flag: NA Test: atest NotificationInterruptStateProviderWrapperTest Change-Id: Icbe9bcbb4ccba4870e42ee51f244cf2e15e095ed
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions