summaryrefslogtreecommitdiff
path: root/api/api.go
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-17 17:30:03 +0000
commitbc04d3cf0d2b8a16d39b12267cd95009f8e85ada (patch)
tree4d794a0f84dcc3561a7ad2a08ecfd617e0708fbb /api/api.go
parentf1f50ee221a3cdb296493d652059a27a1683553d (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 Merged-In: I3d6858a9b20798c2ad3b12a66db3484491682691
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions