commit | 7ab6892c5b9723e7df2057edb6f17c117b8aa1b5 | [log] [tgz] |
---|---|---|
author | joehsu <joehsu@google.com> | Thu Sep 05 16:29:43 2024 +0800 |
committer | joehsu <joehsu@google.com> | Thu Sep 05 17:06:22 2024 +0800 |
tree | b1a6be6b62eeff869471edac6147f2f9ef46bc70 | |
parent | 431935398d079f07ba343be4ecd3ecf4c4b438f6 [diff] |
Update display metrics with initial density if it is not forced When updating display metrics, density could be modified according to the ratio of max UI width and input width. We should use the initial display density if it is not a forced value. Bug: 274111844 Flag: EXEMPT bugfix Test: atest DisplayWindowSettingsTests#testSetForcedSize Change-Id: I7af3e4011dc2e80d75213d4027aceaf01209fbe1