summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Liran Binyamin <liranb@google.com> 2023-11-10 15:15:24 -0500
committer Liran Binyamin <liranb@google.com> 2023-11-17 12:44:49 -0500
commit32267575c529fbdf8cce1bfbc27878d5b54f511b (patch)
tree38499844df4af5af33d079b319a9982cb71975aa /libs/input/PointerController.cpp
parent70bb706e1c70ed45aebef5d0e8288399e3eca9b3 (diff)
Don't push bubbles from distracting apps in focus mode
This change verifies that bubble entries are not suspended before pushing them to the user. Flag: NA Fixes: 290617203 Test: atest NotificationInterruptStateProviderImplTest Test: Manual - Add the test Bubbles app, or any other app, to the list of distracting apps in focus mode settings - Turn on focus mode and generate a notification with the distracting app. - If you're using the test app, you'll have to use a foldable or a tablet - Open Settings and the test app in split screen - Tap on a chat and send a message -- this will generate a notification with a delay - Turn on focus mode immediately after sending the message - Observe that the bubble is not pushed to the user - Turn off focus mode - Observe that the bubble gets pushed Change-Id: Ia0476556f1fc6aabddd4d8a9eac18f94fcfb6a52
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions