Handle the SQLiteDatabase already-closed problem
Remove the database.close in code for handling the re-open an already-closed object:SQLiteDatabase problem. Bug: 124451874 Test: robotest Change-Id: Iff8c0bc5ea092d42cff0a40dfa4324a4de7c90bc
This commit is contained in:
@@ -84,7 +84,6 @@ class SlicesIndexer implements Runnable {
|
|||||||
} finally {
|
} finally {
|
||||||
database.endTransaction();
|
database.endTransaction();
|
||||||
}
|
}
|
||||||
database.close();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
|
Reference in New Issue
Block a user