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

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

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

* commit '7ffbcb28':
  Guarantee that all db related files are deleted together.
parents ef54f611 7ffbcb28
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());