diff options
| author | 2024-09-05 16:29:43 +0800 | |
|---|---|---|
| committer | 2024-09-05 17:06:22 +0800 | |
| commit | 7ab6892c5b9723e7df2057edb6f17c117b8aa1b5 (patch) | |
| tree | b1a6be6b62eeff869471edac6147f2f9ef46bc70 /cmds/bootanimation/BootAnimation.cpp | |
| 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
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions