summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-06-02 17:21:22 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-06-02 18:21:41 +0800
commitf0b39f5c93294594025019b56b31568aab0ed803 (patch)
treef8712fab1993fdeb8a83ae3ce28c7fa8d9f6ff4d /libs/androidfw/StringPool.cpp
parent25aa2d3c877f7880222695bd4048a8edf0f360fd (diff)
Reduce dependency of real device for wm unit test
By default the test copy the display info from the environment. Such as the display size can be close to square or mDefaultFixedToUserRotation is true for FEATURE_AUTOMOTIVE, which may not match the assumption of some tests. Though ideally the unit test should mock those attributes to have consistent precondition, so far there are not too many cases hence make the affected tests more independent. Bug: 272527315 Bug: 267795360 Test: atest ActivityRecordTests#testIsSnapshotCompatible WallpaperControllerTests.testWallpaperSizeWithFixedTransform Change-Id: I3373a3f7093e9ace1edf185a9d124e262f27f1f0
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions