diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-04-09 01:57:36 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-04-09 02:16:37 +0800 |
commit | 89e82063938bcbc3e8528552ab23346a555bd5ba (patch) | |
tree | cc37a65ffe4bcbc235252d4926969a7316736cfc /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9c50a64e914507de422679c98878592d0376693c (diff) |
Use full bounds if fixed aspect ratio does not apply
If a non-resizable activity can fill the non-decor space,
its bounds should not exclude decor bounds because the
activity and decor can show as a continuous area. otherwise
unexpected letterbox may be created and IME cannot attach
to it due to the activity doesn't match parent's bounds.
Fix: 152197007
Test: SizeCompatTests#testAspectRatioMatchParentBoundsAndImeAttachable
Change-Id: I61d2c99702fb8642a3bf5728949489b6b98eb508
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions