Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 460873b3 authored by Michael Mikhail's avatar Michael Mikhail Committed by Android (Google) Code Review
Browse files

Merge "[Flexiglass] refresh state before showing guts menu" into main

parents 62c19ce1 4775730e
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -163,6 +163,13 @@ object MediaControlViewBinder {
        if (viewModel.playTurbulenceNoise) {
            viewController.setUpTurbulenceNoise()
        }

        // TODO: We don't need to refresh this state constantly, only if the state actually changed
        // to something which might impact the measurement
        // State refresh interferes with the translation animation, only run it if it's not running.
        if (!viewController.metadataAnimationHandler.isRunning) {
            viewController.refreshState()
        }
    }

    private fun bindOutputSwitcherModel(