Skip to content

Commit 33a18ed

Browse files
neobuddy89joeyhuab
authored andcommitted
SystemUI: Fix visual bug with notif progress in ongoing action chip
Bug: Receiving download notification when media is paused and media panel is visible, will start progressing seekbar in media panel. Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
1 parent c4cff1f commit 33a18ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/SystemUI/src/com/android/systemui/statusbar/OnGoingActionProgressController.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ class OnGoingActionProgressController(
381381
}
382382
} else {
383383
val isMediaPlaying = showMediaProgress && mediaSessionHelper.isMediaPlaying()
384-
if (isTrackingProgress && !isMediaPlaying) {
384+
if (isTrackingProgress && !isMediaPlaying && !isMenuVisible) {
385385
stopMediaLoop()
386386
updateNotificationProgress()
387387
if (hasMediaSession) {

0 commit comments

Comments
 (0)