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
Loading
Please register or sign in to comment