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
2 files changed