summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Yunfan Chen <yunfanc@google.com> 2024-01-09 14:55:47 +0900
committer Yunfan Chen <yunfanc@google.com> 2024-01-09 14:55:47 +0900
commit2f0f93ea9fc856a8af2b2f80dc2f7f422cffd02e (patch)
treebce9b051b584a0c1bd7a3ca7aea3df367084fec0 /api/api.go
parent8ce9cb3dc637b482af5c94b13176dc548ba5e430 (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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions