Add fixed rotation display adjustments
If an activity is launched with fixed rotation transform, its window layout and configuration will be rotated. But if it gets real information from the display, the values (getRotation, getRealSize, getRealMetric, getCutout) are inconsistent with the actual appearance. This change provides the basic information to adjust the returned values. Bug: 147213487 Test: atest DisplayAdjustmentsTests#testFixedRotationAdjustments Change-Id: I864d5759f41209d5f93c4a9011b720675c25e765
Loading
Please register or sign in to comment