diff options
author | Shivam Agrawal <shivamagrawal@google.com> | 2021-03-25 21:22:48 -0400 |
---|---|---|
committer | Shivam Agrawal <shivamagrawal@google.com> | 2021-04-13 14:49:26 -0400 |
commit | c7e2576fb6e4a663d68b4cf16b4db148cc35a908 (patch) | |
tree | 9ec34e133baefc9d9d968738646cbc403fbb43e3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a6d011d092ccb5ef8310d532239e9a9a962ebacf (diff) |
Device-Specific Display Settings Should Not Be Applied During Tests
Many tests use the device display(s), which may have override
settings applied such as ignoring activity requested orientation.
These settings are read in DisplayWindowSettingsProvider. This CL
introduces TestDisplayWindowSettingsProvider, which uses in-memory
settings storage, ensuring that tests never read from display config
files and never write to them either, preventing changes made to
displays during tests from persisting.
Bug: b/182499175
Test: atest WmTests
Change-Id: Iee63f77a83057b709630e1d2c2cf8dfc3ba88200
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions