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

Skip to content
Commit 97bc849c authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Fix ColorDisplayServiceTest as device-agnostic

- make some of DisplayTransformManager static methods so instance
  methods so that we can mock those method in testing code.

- add ColorDisplayService.waitForFinish() method for testing code can
  remove DisplayTransformManager mock without NullPointerException.

- add dummy resources and stub codes to make ColorDisplayServiceTest
  as device-agnostic.

Bug: 172388453
Test: atest ColorDisplayServiceTest
Change-Id: I37dcd49e118ed234d2c52102011ca5d7ebfcbc16
parent 3fc2e731
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