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
Loading
Please register or sign in to comment