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

Skip to content
Commit 6c4ac831 authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas
Browse files

Create inset adjusted alternative to `topActivityLetterboxHeight`

`topActivityLetterboxHeight` does not exclude insets and thus
inaccurately represents the apps true height. For non resizable
applications we must calculate their aspect ratio in order to respect
in throughout desktop windowing. `topActivityLetterboxHeight` when used
leads the wrong aspect ratio and causes the application to no fit the
window leading to black bars being shown.

Instead introduce `topActivityLetterboxAppHeight` and
`topActivityLetterboxAppWidth` (for consistency) which reflect the
configuration appBouunds as apposed to the bounds.

Flag: NONE(bug fix)
Test: presubmit
Fixes: 354918868
Change-Id: I18703d287fd77a640a30d45d9f927f41b3c91b43
parent 096cbaa9
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