Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7e09400 authored by Sunny Shao's avatar Sunny Shao
Browse files

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
parent 0b73c299
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -84,7 +84,6 @@ class SlicesIndexer implements Runnable {
        } finally {
            database.endTransaction();
        }
        database.close();
    }

    @VisibleForTesting