diff options
author | 2025-02-11 12:41:10 +0000 | |
---|---|---|
committer | 2025-02-11 12:41:10 +0000 | |
commit | 68b8fc30ad35faff8b8b76f1fbd990926a913dd5 (patch) | |
tree | 43fda79c7f467af21eaf3d5e04a7ae3cc0556973 | |
parent | 157826ef3380ac52fd186fa11bb0d112fa7dccdc (diff) |
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
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/volume/dialog/ringer/ui/binder/VolumeDialogRingerViewBinder.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/volume/dialog/ringer/ui/binder/VolumeDialogRingerViewBinder.kt b/packages/SystemUI/src/com/android/systemui/volume/dialog/ringer/ui/binder/VolumeDialogRingerViewBinder.kt index 3d0c7d64b2a4..3066aa62a2e0 100644 --- a/packages/SystemUI/src/com/android/systemui/volume/dialog/ringer/ui/binder/VolumeDialogRingerViewBinder.kt +++ b/packages/SystemUI/src/com/android/systemui/volume/dialog/ringer/ui/binder/VolumeDialogRingerViewBinder.kt @@ -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 -> |