summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Shawn Lee <syeonlee@google.com> 2023-09-18 15:37:02 -0700
committer Shawn Lee <syeonlee@google.com> 2023-10-02 12:46:20 -0700
commita16ae9a2fa688199d1fca10a822db4d52b29d3c0 (patch)
tree7647101694f27d87d0a0b42c6c386abf413e391b /libs/androidfw/ObbFile.cpp
parentc79c20337222d701c39f3ff6e39e1a7f7924b71e (diff)
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
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions