Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c1ce8e58 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent a93ce5ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment