diff options
| author | 2024-03-20 15:39:16 -0400 | |
|---|---|---|
| committer | 2024-03-22 12:49:15 -0400 | |
| commit | 8c0a2a1aea6f96a8578ad43dc5cd915609d89fb2 (patch) | |
| tree | 9de12ac9160a295547b7ef334fbd943aa9d8c73e /libs/androidfw/FileStream.cpp | |
| parent | 080c24aab831fdaebacfcda28ebd982d023c6be2 (diff) | |
VisualInterruptionDecisionProviderTestBase: test 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.
Add tests that we suppress peek and pulse while an app is suspended.
These will fail, but the other two changes in this topic will implement
the change and make the tests pass.
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
Test: atest VisualInterruptionDecisionProviderImplTest
Change-Id: Ia94dbde4f112595a4ec5a30800b9f5a2e6437fcc
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions