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

Commit 60d46a8c authored by Jay Shrauner's avatar Jay Shrauner
Browse files

Fix NPE in deleted contact removal

Fix NPE in deleted contact removal.

Bug:12475233
Change-Id: I7f7a2c78e62e838728868063b0f76e6bffba2130
(cherry picked from commit 070d7d0f)
parent b0b153f5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -511,6 +511,9 @@ public class DialerDatabaseHelper extends SQLiteOpenHelper {
                DeleteContactQuery.PROJECTION,
                DeleteContactQuery.SELECT_UPDATED_CLAUSE,
                new String[] {last_update_time}, null);
        if (deletedContactCursor == null) {
            return;
        }

        db.beginTransaction();
        try {