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

Skip to content
Commit 24656a53 authored by Michael W's avatar Michael W Committed by Bruno Martins
Browse files

SystemUI: Fix QS Detail Header

* Commit eff2c740 introduced some padding
  in case of an existing corner cutout (e.g. a camera in the corner of a
  display), so applies the size of the cutout as padding left/right
* it tries to keep top/bottom padding as-is by calling
  get[Top|Bottom]Padding while re-applying start and end paddings to
  restore the case with corner padding (e.g. after testing from developer
  settings) but fails to do so by calling it on the current view instead
  of the one of interest
* Fix that by getting the actual top/bottom paddings from the relevant
  header view
* Also fix the right padding - it should be qs_panel_padding according
  to the layout file

Test: QS Detail looks like before r37 merge
Test: Activate corner cutout and see if the inset applies properly,
  then deactivate it and see if the original layout restores
Change-Id: I5ba57deff1784fc4ea16649256965ad42dd78239
parent 257a6821
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