commit | 398454ff68a31cbb4d4543b2e2ac24f66cf65db6 | [log] [tgz] |
---|---|---|
author | Mariia Sandrikova <mariiasand@google.com> | Fri Nov 27 11:26:02 2020 +0000 |
committer | Mariia Sandrikova <mariiasand@google.com> | Mon Nov 30 22:04:53 2020 +0000 |
tree | 8e4e789dd6d8c492f57805d33947f124635144ca | |
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