summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author Piotr Wilczyński <wilczynskip@google.com> 2022-12-06 18:57:47 +0000
committer Piotr Wilczyński <wilczynskip@google.com> 2023-01-16 12:33:26 +0000
commite62be1366896e96c7e8e3051e3b4d04c0c9d3dda (patch)
tree95e68dbbe501b3aac2aa5c668cbf37c0ccf7e9d0 /opengl/java
parent41e9b2fb88ce616519ab661e989b25c76e12bdd4 (diff)
Set display size to all displays
- get all displays from display manager - loop and store the density values indexed by unique ID - if DisplayContent isn't available for a display, fall back to DisplayInfo Bug: 197730930 Test: Open Settings, go to Display -> Display size and text -> Display size, change the value, fold/unfold the device, see that the value persists. Test: atest DisplayContentTests Test: atest DisplayWindowSettingsTests Test: atest WindowManagerServiceTests Change-Id: I3d6858a9b20798c2ad3b12a66db3484491682691
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions