Revert "Revert "Check windowing mode in SplashscreenTests#testSplashscreenContent""

This reverts commit bc9725d8107114fed7b5511c9634778f6c2908ac.

Reason for revert: The original change was made by Microsoft
(https://android-review.googlesource.com/c/platform/cts/+/1466332/
The change was cherry picked in by Samsung.

The splashScreenContent is not supposed to be full screen so we
shouldn't check for color equality outside the app bounds.
Using the task bounds will also take the system bar in account.

For the Surface Duo, the meaning of fullscreen is different because
if an app is in full screen on only one screen,
the app is considered fullscreen.

Since this fix accounts for more cases, I prefer to have this one
merged and do another fix for dual screen device where we check
for the Window's logical display width when checking the screenshot

Bug: 198426328
Bug: 171233754
Bug: 188754214

Change-Id: I785ab0b0b9f3a850caf6a4af6975e0223345534b
2 files changed