Skip to content
Commit 2e76230e authored by Fabián Kozynski's avatar Fabián Kozynski
Browse files

Gate binding with `UserManager.isUserUnlocked`

We cannot bind to not direct boot aware apps before that. So delay the
binding until we receive `ACTION_USER_UNLOCKED` (or immediately if we
are unlocked).

Also, delay it to onBootComplete

Fixes: 274467616
Test: manual `adb shell dumpsys activity services` after restart
Test: atest ControlsStartableTest
Change-Id: Ic2c7d1584300fa68c7d53dcea52650cfd83b677b
parent c59bcce7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment