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
Loading
Please register or sign in to comment