summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorShivam Agrawal <shivamagrawal@google.com>2021-03-16 15:14:10 -0400
committerShivam Agrawal <shivamagrawal@google.com>2021-03-19 19:20:31 -0400
commit95f98799f863ea126757a2b5457f45b530c83d19 (patch)
treebc5fb66332de121b92b49e8946fe1ba0e76bb06a /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdf786ca150b47170af6c30019a913def8ccbe15e (diff)
Ensure Display Settings Overrides Do Not Impact TestDisplayContent
Display overrides such as width, height, and density should not override values set in TestDisplayContent. Otherwise, test conditions are not consistent and can lead to test failures on some devices. To prevent this, set the uniqueId of the DisplayInfo of the TestDisplayContent to a value different from that of the actual device displays. This ensures that DisplayWindowSettingsProvider does not apply override settings by comparing against uniqueId. Bug: b/182499175 Test: atest DisplayContentTests Change-Id: I0ad10c2b3dc30849373a938bfd06533731f1a6dc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions