Skip to content
Commit 2b5d4ed3 authored by ning Zhu's avatar ning Zhu Committed by ning zhu
Browse files

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: default avatarzhuning3 <zhuning3@xiaomi.corp-partner.google.com>
parent ce1c0862
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