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