commit | 4e7fc325ebcf2453f31c1a44894f703acebc9c03 | [log] [tgz] |
---|---|---|
author | Graciela Wissen Putri <gracielawputri@google.com> | Mon Apr 08 18:58:14 2024 +0000 |
committer | Graciela Wissen Putri <gracielawputri@google.com> | Wed Apr 10 10:11:05 2024 +0000 |
tree | 2923e854bae087b7b5567ad9e8c2b1d7e7b73c8f | |
parent | 0d383316f89ad1e87af0de543228a63cd726a582 [diff] |
Restrict app to boundsWithInsets to respect orientation Portrait displays with close to square bounds can be landscape with insets. To make sure orientation is respected with insets, we should use the parentBoundsWithInsets instead of parentBounds. Test is disabled temporarily as it needs to be fixed in main first. Bug: 330888878 Test: atest SizeCompatTests Change-Id: I073120e69e9142e03cc09e352b1f502d1a0d4493