summaryrefslogtreecommitdiff
path: root/opengl/java/android
diff options
context:
space:
mode:
author Arian <arian.kulmer@web.de> 2022-03-29 16:35:57 +0200
committer Arian <arian.kulmer@web.de> 2022-03-31 00:22:44 +0200
commit337b53998665e6dbf0ad6ecc5d009f6c9c23be5d (patch)
tree597da2a05b216e0e9320c3e990c5e18165f91e66 /opengl/java/android
parent39ae5bac216757bc201490f4c7b8c0f63006c6cd (diff)
VolumeDialogImpl: Respect multiple visible rows in landscape
If the user is in a call we are showing two volume rows, the default (music) stream and the active stream, in this case the voice call. Currently the second row is not touchable in landscape mode because the calculation of the touchable region does not handle the case of multiple visible rows. This patchset adds a check wether the ringer drawer extra size is bigger than the additionally visible rows and then substracts the size of the visible rows so that they stay touchable. Test: While receiving a call in landscape both, the music row and the ring row, are touchable. Touches at the left of the volume panel are still going through the app behind the volume panel. Change-Id: Icda80b7a98d5510747bc92ef12a3c7647131b18d
Diffstat (limited to 'opengl/java/android')
0 files changed, 0 insertions, 0 deletions