diff options
| author | 2024-07-25 14:18:49 +0900 | |
|---|---|---|
| committer | 2024-08-01 09:10:41 +0000 | |
| commit | 22821f906f8da9b8a8d2be594dc11fcb74f4163e (patch) | |
| tree | 94b8e45cc85f96510514be3671417cadb8d94949 /libs/androidfw/ObbFile.cpp | |
| parent | 8350f4b8c46e7a043a1b863abb4274b9d750dc57 (diff) | |
Avoid the caption bar overlaps with status bar
When a window under desktop mode, and get fullscreen when the maximize
button on the caption bar is pressed, the caption bar will layout
starting from (0, 0) point of the display, and it will overlaps with the
status bar, made the buttons on caption bar hard to interact with.
This patch extend the caption bar by the status bar size when it
overlaps and maximized, also added padding to the corresponding view to
make the buttons on the caption moving downward to be accessible by the
users.
The extension only applied to CaptionWindowDecoration.
Test: WindowDecorationTests
Test: Check desktop mode targets
Bug: 351920380
Flag: EXEMPT bugfix
Change-Id: I0065cdc3e51be187d24e617fb97f191a69c86a3c
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions