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

Commit e6a2595f authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Move SyncManager broadcast receivers off the main thread

Use the SyncManager handler instead of main thread to
avoid blocking the main thread on locks from other services.

Also avoid locking repeatedly to check if jobscheduler is
initialized.

Bug: 409177829
Flag: com.android.server.am.syncmanager_off_main_thread
Test: atest CtsSyncManagerTestsCases
Change-Id: Ia12f8d006e1d9c3bdb221650506c652cd245d4aa
parent d5e4d469
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