android / android/security-samples
Android enable android:directBootAware="true" and android:defaultToDeviceProtectedStorage="true"
Open
- Dominant language
- Kotlin
- Stars
- 1k
- Forks
- 450
- PR merge metrics
- No merged PRs in 30d
Description
Caused by: java.lang.IllegalArgumentException: WebView cannot be used with device protected storage at com.android.webview.chromium.WebViewChromiumFactoryProvider.b(
Contributor guide
Research direction
Start by reproducing the reported WebView exception with android:directBootAware="true" and android:defaultToDeviceProtectedStorage="true" enabled. Inspect the sample's Android manifest and WebView initialization, then determine whether direct-boot support can be enabled without the device-protected-storage failure; done means the sample builds and runs without this exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- operating-systems, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100