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

Commit 7ffbcb28 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android Git Automerger
Browse files

am ca5d99ac: Merge "Guarantee that all db related files are deleted together."

* commit 'ca5d99ac':
  Guarantee that all db related files are deleted together.
parents ec997806 ca5d99ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ public final class DefaultDatabaseErrorHandler implements DatabaseErrorHandler {
        }
        Log.e(TAG, "deleting the database file: " + fileName);
        try {
            new File(fileName).delete();
            SQLiteDatabase.deleteDatabase(new File(fileName));
        } catch (Exception e) {
            /* print warning and ignore exception */
            Log.w(TAG, "delete failed: " + e.getMessage());