commit | e190a8a5bbb1ef11c661f2ec10e1313299eb4748 | [log] [tgz] |
---|---|---|
author | Yichi Chen <yichichen@google.com> | Wed Jun 08 01:14:02 2022 +0000 |
committer | Amy Hsu <amyhsu@google.com> | Mon Jun 13 12:31:31 2022 +0800 |
tree | 870f59967cbb04ef48ae4455133add14e232bace | |
parent | ea858a6afcea068bf6b42b30a366fa4a6e016eeb [diff] |
Restore the density when it has been overridden When the density is overridden, the new density remains the same during the resolution changes, which causes improper DPI on the screen. The patch recalculates the suitable overridden density when the resolution is changed and applies the new settings when the new resolution takes place. Bug: 233698163 Test: Switch resolution with customized density Change-Id: I0914de61da0ab3b78380b355f47dbd3052079492