diff --git a/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/SeekBarViewModel.kt b/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/SeekBarViewModel.kt index 768d3591fcf5b..63c6d6c5e372c 100644 --- a/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/SeekBarViewModel.kt +++ b/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/SeekBarViewModel.kt @@ -191,11 +191,12 @@ constructor( /** Event indicating that the user has started interacting with the seek bar. */ @AnyThread - fun onSeekStarting() = - bgExecutor.execute { - scrubbing = true - isFalseSeek = false - } + fun onSeekStarting() = bgExecutor.execute { + scrubbing = true + isFalseSeek = false + cancel?.run() + cancel = null + } /** * Event indicating that the user has moved the seek bar.