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

Skip to content
Unverified Commit fd74b077 authored by danielml's avatar danielml Committed by Michael Bestas
Browse files

VolumeDialogImpl: Ignore external layout direction changes



To simplify the handling of expanded volume rows with the dialog on the
left and right side, we use the layout direction to ensure the first row
is the outmost one. However, when the system layout direction was set
again but did not change its actual value after initDialog, this setting
was overriden and since no config change was indicated (mConfigChanged),
the system layout direction was used when opening the dialog the next
time. This lead to the first row not being the outmost one. To solve
that issue, just ignore system layout direction changes.

Test:
1. Open volume dialog
2. Eject and insert SIM card
3. Enter PIN, wait a second until the locale is set
4. Open the dialog and verify the the main row is the outmost one.
Change-Id: I0b9f15972d0416647ba045b7776bed8e6250d57f
Signed-off-by: default avatardanielml <daniel@danielml.dev>
Signed-off-by: default avatarArian <arian.kulmer@web.de>
parent 1512587e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment