google / google/ExoPlayer

Use SupportSQLiteOpenHelper

Open
#5,933 1 comment 6 reactions 1 assignee Assigned to @marcbaechinger View on GitHub
enhancement low priority
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Currently the `DatabaseProvider` is hardcoded to use the framework `SQLiteDatabase`.

I want to suggest that ExoPlayer uses `androidx.sqlite.db.SupportSQLiteOpenHelper` instead because one can swap the implementation and also use the same database abstraction room is using - without the need to create a separate sql file just for ExoPlayer.

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.