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

Commit 4c4106be authored by Vasu Nori's avatar Vasu Nori Committed by Android (Google) Code Review
Browse files

Merge "a dbobject is closed twice and that causes incorrect warnings"

parents 89d6d00a fb3803a3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1542,7 +1542,6 @@ public class SQLiteDatabase extends SQLiteClosable {
                }
            }
            statement.execute();
            statement.close();
            return lastChangeCount();
        } catch (SQLiteDatabaseCorruptException e) {
            onCorruption();
@@ -1638,7 +1637,6 @@ public class SQLiteDatabase extends SQLiteClosable {

            // Run the program and then cleanup
            statement.execute();
            statement.close();
            int numChangedRows = lastChangeCount();
            if (Config.LOGD && Log.isLoggable(TAG, Log.VERBOSE)) {
                Log.v(TAG, "Updated " + numChangedRows + " using " + values + " and " + sql);