DirectBoot
Security
com.example.android.directboot
24
com.android.support:recyclerview-v7:28.0.0
com.android.support:design:28.0.0
Android N devices, the scheduled alarms
go off after reboot even before the user enters their credentials.
]]>
PUBLISHED
Security
Android
Java
Mobile
INTERMEDIATE
screenshots/icon-web.png
screenshots/1.png
screenshots/2.png
screenshots/3.png
screenshots/4.png
android.content.Context.createDeviceProtectedStorageContext
```
Components marked as directBoot aware are normal components that will continue to be available after the
Credential protected storage becomes available. The storage APIs on the Context supplied to these components will always point to Credential protected storage by default.
To access Device protected storage, you can create a secondary Context using this API
```
Context.createDeviceProtectedStorageContext()
```
All of the storage APIs on this returned Context will be redirected to point at Device protected storage.
You need to be careful what data is stored/moved to a device protected storage
because the storage isn't protected by the user's credential (PIN/Pattern/Password)
You shouldn't store sensitive data (such as user's emails, auth tokens) in a
device protected storage.
]]>