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

Commit 3ff9dea7 authored by Shriram Ganesh's avatar Shriram Ganesh Committed by Android Git Automerger
Browse files

am 0f39c557: Fix to handle IllegalArgumentException

* commit '0f39c557':
  Fix to handle IllegalArgumentException
parents 1044a986 0f39c557
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -122,8 +122,13 @@ public class MissedCallNotifierImpl extends CallsManagerListenerBase implements
                where.append(" = 1 AND ");
                where.append(Calls.TYPE);
                where.append(" = ?");
                mContext.getContentResolver().update(Calls.CONTENT_URI, values, where.toString(),
                        new String[]{ Integer.toString(Calls.MISSED_TYPE) });
                try {
                    mContext.getContentResolver().update(Calls.CONTENT_URI, values,
                            where.toString(), new String[]{ Integer.toString(Calls.
                            MISSED_TYPE) });
                } catch (IllegalArgumentException e) {
                    Log.w(this, "ContactsProvider update command failed", e);
                }
            }
        });
        cancelMissedCallNotification();