Merge "Send LOCKED_BOOT_COMPLETED on same queue as BOOT_COMPLETED"

This commit is contained in:
Chris Tate
2020-02-11 00:33:41 +00:00
committed by Android (Google) Code Review

View File

@@ -414,6 +414,7 @@ class UserController implements Handler.Callback {
Intent intent = new Intent(Intent.ACTION_LOCKED_BOOT_COMPLETED, null);
intent.putExtra(Intent.EXTRA_USER_HANDLE, userId);
intent.addFlags(Intent.FLAG_RECEIVER_NO_ABORT
| Intent.FLAG_RECEIVER_OFFLOAD
| Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND);
mInjector.broadcastIntent(intent, null, resultTo, 0, null, null,
new String[]{android.Manifest.permission.RECEIVE_BOOT_COMPLETED},