diff options
author | Mariia Sandrikova <mariiasand@google.com> | 2020-11-27 11:26:02 +0000 |
---|---|---|
committer | Mariia Sandrikova <mariiasand@google.com> | 2020-11-30 22:04:53 +0000 |
commit | 398454ff68a31cbb4d4543b2e2ac24f66cf65db6 (patch) | |
tree | 8e4e789dd6d8c492f57805d33947f124635144ca /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 845d2dc1f13af24f2b4b47f0ff7bd8de29359026 (diff) |
Apply insets to max bounds instead of parent bounds in letterbox mode.
Applying insets directly to parent bounds don't always work because parent bounds may not be equal to max bounds. For example, this happens when "Developer options > Display Cutout > Hide" option is selected or in One-handed mode.
Fix: 174211584
Test: atest WMShellUnitTests
Change-Id: I7415629aab39e5aac6c038f27494b87667ef84d9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions