summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author Aleksej Makarov <aleksej.makarov@sony.com> 2023-09-04 13:16:19 +0200
committer Snild Dolkow <snild@sony.com> 2023-10-12 07:31:54 +0200
commit535c5cd7a1c15d2b8abe650377db856c92de1519 (patch)
treeecc00a2e33c01dca0afc52d02211ee0e436fe3ea /services/coverage/java
parent7039b4f75837c949102caf9f54b9ca6dd1888458 (diff)
Don't apply UI width limitation to an external display
config_maxUiWidth value is applied to all displays discovered at the boot time, see com.android.server.SystemServer::startOtherServices() calling wm.displayReady() It is correct for internal displays but sometimes the device can boot with an external USB-C-to-HDMI connected display. In that case, config_maxUiWidth is applied to that display as well, making the image on the external display scaled  improperly. From another point, this config value is not applied when the external display is connected when the boot is finished, so to make it consistent we should not apply that config to the display connected before device boots as well. By this change, we make sure that config_maxUiWidth is applied to internal displays only. Bug: 304339160 Test: connect the external display and reboot the device. Signed-off-by: Aleksej Makarov <aleksej.makarov@sony.com> Change-Id: I774f1987ed3c8504bb04dd072243edc498d14315
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions