summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Julia Tuttle <juliatuttle@google.com> 2024-03-20 15:40:38 -0400
committer Julia Tuttle <juliatuttle@google.com> 2024-03-22 12:49:15 -0400
commit5fef41807224b1f04fcded9c9e7c63dbc31b7308 (patch)
tree8737e52ec11af1888fdb07f95aec183e47eda7af /libs/androidfw/FileStream.cpp
parent93c3afadb54c4dce39433b98065207ebf9e8d6e9 (diff)
VisualInterruptionDecisionProvider: 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 new BubbleAppSuspendedSuppressor to suppress interruptions from suspended apps for peek, pulse, and bubble; and rename/rearrange code as necessary. 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 VisualInterruptionDecisionProviderImplTest Change-Id: I0437f1a286183a28689b7ef0c8a604a7bc0398b6
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions