diff options
author | Charles Chen <charlesccchen@google.com> | 2019-06-04 11:31:11 +0800 |
---|---|---|
committer | Charles Chen <charlesccchen@google.com> | 2019-06-10 03:43:19 +0000 |
commit | 046807f0673b21e88bcaec986973f9894ef37a55 (patch) | |
tree | 6876cead2de6e0f6e8c9b9a2608c4f39b327a7fe /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | dcb7377718b5855d6a9bfead7b2e415c157ea01a (diff) |
Reconfigure displays on ready to apply DisplayWindowSettings
For secondary displays, we apply display settings in RWC#createDisplayContent()
in RAC#setWindowManager() but WMS#reconfigureDisplayLocked() may not take effect since
display was not ready then and reconfigure call will be a no-op.
This CL will reconfigure all displays in WMS#displayReady().
Fixes: 131909551
Test: atest WmTests:DisplayWindowSettingsTests#testDisplayWindowSettingsAppliedOnDisplayReady
Test: manual: 1. adb pull data/system/display_settings.xml
2. add forcedDensity="XXX" in the row which display
name="local:1"
3. adb push display_settings.xml data/system
4. adb reboot
5. Verify if nav bar applies the density change
Change-Id: I21172fbe590da499c633b54bfe53f6e92adb7ee8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions