android / android/security-samples

Android enable android:directBootAware="true" and android:defaultToDeviceProtectedStorage="true"

Open
#95 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.