Skip to content

Commit 1f2fec3

Browse files
neobuddy89joeyhuab
authored andcommitted
SystemUI: Do not collapse when interacting with seekbar
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
1 parent a0b943e commit 1f2fec3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,8 @@ class OnGoingActionProgressController(
678678
val duration = mediaSessionHelper.getTotalDuration()
679679
if (duration <= 0) return
680680
mediaSessionHelper.seekTo((fraction * duration).toLong().coerceIn(0L, duration))
681+
collapseExpandViewWithDelay()
682+
collapseMediaControlsWithDelay()
681683
}
682684

683685
fun collapseMediaControlsWithDelay() {

0 commit comments

Comments
 (0)