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

Skip to content
Commit a16ae9a2 authored by Shawn Lee's avatar Shawn Lee
Browse files

Added display cutout handling to Shade Header in Flexiglass

The collapsed Shade Header is now split into two halves that are repositioned around the display cutout, like the old impl. Compose does not yet expose the actual bounding rectangle for the display cutout, so this needs to be derived from android.view.DisplayCutout and piped in from the root view for now. The display cutout bounds are provided via CompositionLocal to the entire Compose tree.

Bug: 298525212
Test: Manually verified header resizes and truncates content properly with different font/display sizes and cutout locations.
Change-Id: I8fa7fef39dcc920ce01c4ebb29e45aae310cdd87
parent c79c2033
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