diff options
| author | 2022-10-21 16:09:43 +0800 | |
|---|---|---|
| committer | 2022-11-30 01:42:43 +0000 | |
| commit | 2b5d4ed3a35e90c15a1eaaec1d3ea7ede3f31d62 (patch) | |
| tree | 61b669c5286c28bc7de30c7fb493d1f31f58e237 /libs/androidfw/StringPool.cpp | |
| parent | ce1c086217a341faf5b31bf9314fdb18601358c5 (diff) | |
Move "mVold.onSecureKeyguardStateChanged" to handler thread
When insert a U disk or sdcard, if fsck or mount takes a long time, it will take several seconds for the screen to light up because the lock of vold process cannot be obtained, so we move the time-consuming method into the handler thread and use the new and old values of mSecureKeyguardShowing to determine whether a binder call is required.
Test: Manual test
Bug: 259900790
Change-Id: Ie0285d95c49bf37504ccc2821b856774d04806f7
Signed-off-by: zhuning3 <zhuning3@xiaomi.corp-partner.google.com>
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions