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

Commit 2b40a048 authored by Chris Göllner's avatar Chris Göllner Committed by Chris Göllner
Browse files

Fix cropping of status bar elements on connected displays

On some devices with cutouts, we use
`status_bar_bottom_aligned_margin_rotation` to have some custom
alignment of the status bar.

This value is ignored for displays that don't have a cutout.
The problem was that SysUICutoutProvider was injecting the default
Context, instead of a @DisplayAware Context.
The default Context was returning a cutout, which is wrong for the
external display.

Test: Connect a virtual display to Comet while unfolded
Fixes: 438425468
Fixes: 438430670
Flag: EXEMPT Dagger only change
Change-Id: Id5a63e17392c2da099538238e2d50c8a2b6c87e2
parent 2a9c700e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment