commit | 2f0f93ea9fc856a8af2b2f80dc2f7f422cffd02e | [log] [tgz] |
---|---|---|
author | Yunfan Chen <yunfanc@google.com> | Tue Jan 09 14:55:47 2024 +0900 |
committer | Yunfan Chen <yunfanc@google.com> | Tue Jan 09 14:55:47 2024 +0900 |
tree | bce9b051b584a0c1bd7a3ca7aea3df367084fec0 | |
parent | 8ce9cb3dc637b482af5c94b13176dc548ba5e430 [diff] |
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