summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Michael Wright <michaelwr@google.com> 2023-03-17 20:44:08 +0000
committer Michael Wright <michaelwr@google.com> 2023-04-12 03:06:48 +0100
commit36549f2fb33c39a8e168491148eed435a5635193 (patch)
tree7fca353cc6614f70ce90f915fb6cef0ad5dd43db /libs/androidfw/FileStream.cpp
parent852658503c10cbe7cb83fcba0b1235d762f91eae (diff)
Use testable components to cleanup display tests a bit.
Second attempt. TestableSettingsProvider currently doesn't understand the special UserHandle values, so we need to use the same user value in the test as we do in the code under test. If we don't, it will read through to the real settings value, making the tests unnecessarily depend on external state. Fixes: 274430330 Test: atest DisplayPowerControllerTest DisplayPowerController2Test Change-Id: Id4568924aa67a3be6e0c0169a168b9241e1e510c
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions