Set max bounds for window configuration

This sets the window configuration max bounds to be the size of the
screen to be displayed. Those max bounds represent the size of the
software layer that can be used to draw views that specify they are to
be drawn in a software layer.

Bug: 282993669
Test: test added
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4699f9fa49cb0c2d0faed809999d214f0fcf4109)
Merged-In: Iae8d169bf1307283592d31e74c25e3ecc594d49b
Change-Id: Iae8d169bf1307283592d31e74c25e3ecc594d49b
4 files changed