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
Loading
Please register or sign in to comment