Support display cutout side override in tests

The mocked resource will accidentally return null without return value
override and will break the NonNull contract of the obtainTypedArray
API. Return the mock array instead to avoid the unexpected crash.

Test: LocalDisplayAdapterTest
Bug: 302387383
Change-Id: I9b5542da0d3820a1f7e7c421518771ac580cfbe3
1 file changed