summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-09-26 13:57:55 +0000
committer Riddle Hsu <riddlehsu@google.com> 2023-09-26 15:19:24 +0000
commitc1ce8e58981bfa8319d7d584770bd84be4cbbe75 (patch)
tree9d16c6e35cc4686b11917636a51c8d7501fc64ad /libs/androidfw/ApkParsing.cpp
parenta93ce5ac0be21bbc2eb1aa704a4fdfb9745053de (diff)
Optimize initialization of configuration when display ready
By reordering reconfigureDisplayLocked to the end of displayReady, it can compute from the related fields at once. That reduces additional global configuration change at booting. Also reconfigureDisplayLocked -> sendNewConfiguration -> updateDisplayOverrideConfigurationLocked already has the same effect as AtmService.updateConfiguration. Bug: 301558071 Test: Check the amount of log "Config changes=" when booting. Also the fields "hdr", "widecg", "finger" of Configuration is updated at the first change. Change-Id: I709b59f27be35da086d485fa8ee956b95ff0e639
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions