Rabbit-R1/android (non root)/java/sources/androidx/media3/database/DefaultDatabaseProvider.java

24 lines
773 B
Java
Raw Normal View History

2024-05-21 21:08:36 +00:00
package androidx.media3.database;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/* loaded from: classes2.dex */
public final class DefaultDatabaseProvider implements DatabaseProvider {
private final SQLiteOpenHelper sqliteOpenHelper;
public DefaultDatabaseProvider(SQLiteOpenHelper sQLiteOpenHelper) {
this.sqliteOpenHelper = sQLiteOpenHelper;
}
@Override // androidx.media3.database.DatabaseProvider
public SQLiteDatabase getWritableDatabase() {
return this.sqliteOpenHelper.getWritableDatabase();
}
@Override // androidx.media3.database.DatabaseProvider
public SQLiteDatabase getReadableDatabase() {
return this.sqliteOpenHelper.getReadableDatabase();
}
}