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

Skip to content
Commit 04f3cc7f authored by Eric Biggers's avatar Eric Biggers
Browse files

Handle PHASE_BOOT_COMPLETED asynchronously in LockSettingsService

SystemService#onBootPhase(PHASE_BOOT_COMPLETED) can be called on
system_server's main thread after it has enabled StrictMode.  Therefore
I/O should not be performed.  Do the relevant work on the service thread
instead.  There is no strict timing required for the work that is being
done, so this should be fine.

Bug: 333057214
Flag: EXEMPT bugfix
Test: atest FrameworksServicesTests:com.android.server.locksettings
Change-Id: If96637fb83054b77857387415e1e6cee1c2ba7f6
parent b225077f
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