diff options
| author | 2023-11-02 20:57:39 +0800 | |
|---|---|---|
| committer | 2023-11-03 21:50:41 +0800 | |
| commit | c545ce99d147cbb0a2808a20d501bd42d223fd81 (patch) | |
| tree | 0049bc1f3d349939a9472185827994fe4f2774c8 /libs/androidfw/AttributeResolution.cpp | |
| parent | 488eb9856a19aa14faaaca1ae056d960531278d3 (diff) | |
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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions