summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-04-22 21:15:38 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-04-23 05:18:39 +0000
commit1f931a590ba8a22fc8adc7de4c21d55bfca9aacc (patch)
tree2fd7e26b335276299ba25b46b6e79936462d81dd /tools/aapt2/java/JavaClassGenerator.cpp
parente91800d29022a924ff376914665e75a7a6fd8364 (diff)
Respect parent bounds if it can contain the override bounds
The parent configuration may have been transformed (fixed rotation), in that case the override bounds should be able to fit in the given parent bounds. Besides, the rotation of task display area is different than the override bounds. So parent app bounds should be still chosen as the container area. Fixes: 154699350 Test: atest AspectRatioTests#testMinAspectLandscapeActivity TaskRecordTests#testComputeConfigResourceOverrides Change-Id: Iaf5c1f838d2c51c6c0175b5e6e947e6690ed9cf3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions