Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2f0f93ea authored by Yunfan Chen's avatar Yunfan Chen
Browse files

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
parent 8ce9cb3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment