Skip to content
Commit c7e2576f authored by Shivam Agrawal's avatar Shivam Agrawal
Browse files

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
parent a6d011d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment