diff options
| author | 2022-08-09 21:02:19 -0700 | |
|---|---|---|
| committer | 2022-08-16 13:36:52 -0700 | |
| commit | 68f813721fc655254eb1f39014d295569cd0f9e3 (patch) | |
| tree | 404f6f8af7e71173f8d722c253d95c17c8dd6d32 /libs/androidfw/StringPool.cpp | |
| parent | 518b492a93dd0fc1643b8dee2b5a2609fb1ab991 (diff) | |
Stop sound when bubble notification is suppressed
In BubbleMetadata for a notification there is a flag whether the
notification should be suppressed from the shade. When we expand a
bubble, we update this flag to suppress the notification as it has been
seen by the user.
Adding an additional check to see if the suppressed notification has
audio playing. If it has, stop audio playback.
Bug: 230691147
Test: atest NotificationManagerServiceTest
Change-Id: I8df12158c09496175ebf1c818706e440b2bea101
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions