Skip to content
Commit 0b1ebd7c authored by Evan Chen's avatar Evan Chen
Browse files

Notify/bind app after the phone is unlocked

CDM is not able to bind the app before the phone is unlocked(if password was set)
if the app is not boot aware.

This cl contains:
1. Store the the device info when receive the BT.onDeviceConnected()
if !UserManager.isUserUnlockingOrUnlocked which means CDM received the bt callback before user unlock the phone.
2. Trigger the callback in SystemService.onUserUnlocked() if we find any devices info were stored

Bug: 235614233,276311331
Test: manully test
Change-Id: I3963b3974ba42cbd34ee043416e3ef58d0ec08e5
parent 9cc0dd6e
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