google / google/ExoPlayer

Use Storage Access Framework in demo app to access local files.

Open
#6,045 2 comments 0 reactions 1 assignee Claimed by @tonihei View on GitHub
enhancement
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

### Use case description
Starting with Android Q, access to random local files is forbidden unless the Storage Access Framework is used (see e.g. #6039). To simplify debugging of local files with our demo app, we should add an option to open a file this way. On the other hand, we no longer need to request permission to read files.

See https://developer.android.com/preview/privacy/scoped-storage and https://developer.android.com/guide/topics/providers/document-provider

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.