mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-11-12 21:22:59 +00:00
@@ -43,7 +43,7 @@ public final class NewPipeDatabase {
|
||||
}
|
||||
|
||||
public static void checkpoint() {
|
||||
if(null == databaseInstance){
|
||||
if (databaseInstance == null) {
|
||||
throw new IllegalStateException("database is not initialized");
|
||||
}
|
||||
Cursor c = databaseInstance.query("pragma wal_checkpoint(full)", null);
|
||||
|
||||
Reference in New Issue
Block a user