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

Commit 6f585e15 authored by Jorge Gil's avatar Jorge Gil
Browse files

Fix inset rect calculation

The rect's |bottom| was mistakenly set to the height of the caption, but
it also needs to be offset from the rect's height, otherwise it could
end up with a bottom value lower than top, which results in a negative
height that is used to report insets.

Flag: com.android.window.flags.enable_window_decoration_refactor
Bug: 409648813
Test: check app content is offset to account for caption insets
Change-Id: I5ee787ebb66f776e5258bf76f2a09e111ba9e5e0
parent 325d92db
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