Exclude insets from new parent config bounds when resolving SCM config
If insets overriden from the config are being used, exclude these insets
from the new parent config app bounds in
`resolveSizeCompatModeConfiguration`. This is because these bounds no
longer exclude these insets by default. This causes a missmatch between
the resolved app bounds and the parent config app bounds which can lead
to an app being wrongly placed in SCM.
Bug: 343197837
Fixes: 341051320
Fixes: 339994562
Fixes: 340831368
Test: atest CompatUIWindowManagerTest
Test: atest SizeCompatTests
Change-Id: I7c74ad2458aed1b22cd312f0d171cbdd25d532a3
1 file changed