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

Skip to content
Commit c545ce99 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Compute configuration orientation by available screen size

It aligns the same calculation as
TaskFragment#computeConfigResourceOverrides.

Otherwise when the display size is close to square and there are
decor windows, the configuration of activity and non-activity
component will be inconsistent.

Bug: 233855302
Test: atest DisplayContentTests#testOrientationForAspectRatio
Change-Id: If6a1d5e28b51b14a2d154872b3e65f6b3c82c101
parent 488eb985
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment