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
Loading
Please register or sign in to comment