summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-03-06 21:01:13 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-05-11 13:30:14 +0800
commitca70b013021a4486dbed015dd7f362d00878efbe (patch)
tree7078a1f14b180fd1d57c6c309ea1abebd8041de1 /tools/aapt2/java/JavaClassGenerator.cpp
parent53ed707827f48bdb183add5f08d285dc06e9c705 (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions