diff --git a/docs/html/preview/features/direct-boot.jd b/docs/html/preview/features/direct-boot.jd index 3d442d0966ca6..8351f4b4b10fe 100644 --- a/docs/html/preview/features/direct-boot.jd +++ b/docs/html/preview/features/direct-boot.jd @@ -108,18 +108,25 @@ Direct Boot mode, use credential encrypted storage.
Once the user unlocks the device after restart, your app can switch to +
When the user unlocks the device after restart, your app can switch to accessing credential encrypted storage and use regular system services that depend on user credentials.
To get notified when the user unlocks the device after a reboot,
register a {@link android.content.BroadcastReceiver} from a running component
-to listen for the ACTION_USER_UNLOCKED message. Or, you can
-receive the existing {@link android.content.Intent#ACTION_BOOT_COMPLETED
-ACTION_BOOT_COMPLETED} message, which now indicates the device has booted and
-the user has unlocked the device.
You can directly query if the user has unlocked the device by calling +
If the user has unlocked the device, you can find out by calling
UserManager.isUserUnlocked().