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

Commit 68b8fc30 authored by Anton Potapov's avatar Anton Potapov
Browse files

Fix ringer drawer touchable area

Use ringer drawer background as a touchable area as it aligns closely to
the buttons while the container is matching its parent to allow enough
space for the animation

Flag: com.android.systemui.volume_redesign
Fixes: 394086402
Test: manual on the phone
Change-Id: Ic2a45700c8817cc405e26b6e78b8267c246cf068
parent 157826ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ constructor(
        drawerContainer.setTransitionListener(ringerDrawerTransitionListener)
        volumeDialogBackgroundView.background = volumeDialogBackgroundView.background.mutate()
        ringerBackgroundView.background = ringerBackgroundView.background.mutate()
        launch { dialogViewModel.addTouchableBounds(drawerContainer) }
        launch { dialogViewModel.addTouchableBounds(ringerBackgroundView) }

        viewModel.ringerViewModel
            .mapLatest { ringerState ->