Cts test for OVERRIDE_SANDBOX_VIEW_BOUNDS_APIS
and add OVERRIDE_SANDBOX_VIEW_BOUNDS_APIS to allow list.
Some applications assume that they occupy the whole screen and therefore
use the display coordinates in their calculations. This can lead to
shifted or out of bounds UI elements in case the activity is Letterboxed
or is in split-screen mode.
OVERRIDE_SANDBOX_VIEW_BOUNDS_APIS change id forces the packages it is
applied to sandbox View API to Activity bounds for:
android.view.View#getBoundsOnScreen
android.view.View#getLocationOnScreen
android.view.View#getWindowVisibleDisplayFrame
android.view.View#getWindowDisplayFrame
Bug: 234799838
Change-Id: I50a8d10607ccaea3d1c078c00985b727c8ac3ecf
Merged-In: I50a8d10607ccaea3d1c078c00985b727c8ac3ecf
Test: atest CtsWindowManagerDeviceTestCases:CompatChangeTests
(cherry picked from commit 76481bfa5569238828b279ec7cb0f742b5eca380)
3 files changed