summaryrefslogtreecommitdiff
path: root/libs/input/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2018-07-02 11:00:54 -0700
committer Peiyong Lin <lpy@google.com> 2018-07-02 11:49:37 -0700
commit8193497f4f3e2ed3ec21ea5489f38c2317147e2f (patch)
treefc9b0b6be2cb6374f47e1caccc4a71e46e92880b /libs/input/KeyLayoutMap.cpp
parentd98772df34a16478aa330ccfe29b529cf7eb4249 (diff)
[SurfaceFlinger] Avoid querying Power HAL until switching color mode.
Previously, SurfaceFlinger would query Power HAL speculatively at the first time color mode is set when device is booted. Howerver, Power HAL is not necessary started before SurfaceFlinger and it's not necessary to query Power HAL when color mode is not switched. As a result, the boot time is very long because SurfaceFlinger needs to wait for Power HAL to start. Thus, in this patch, we avoid querying Power HAL until color mode is switched, which won't happen until we enter wide-color-gamut Apps. BUG: 110112323 BUG: 111009852 Test: Build, flash and boot device, check hardware.power output with adb logcat Change-Id: Ia581461ba7861784bff35cac6fbeca9bac92b8fa
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions