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

Commit 2e628ca9 authored by Thomas Bull's avatar Thomas Bull
Browse files

Improve wear keyguard unlock by prioritizing `checkCredential`

High unlock times have been observed on wear devices specifically.
b/403536398 identified that the low priority of the `checkCredential`
method contributes to this issue.

This change increases the priority of the `checkCredential` method to
`THREAD_FOREGROUND` (priority 118). This priority level was chosen
based on testing in b/403536398, which demonstrated the best performance
gains.

Flag: com.android.internal.widget.flags.run_check_credential_with_higher_priority
Test: m
Bug:407716215
Change-Id: I1c01bdbe9121a4d7e49ea5223ed6d82bc787654b
parent 83fa5c0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment