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

Commit 455497b3 authored by Sanket Agarwal's avatar Sanket Agarwal Committed by android-build-merger
Browse files

Merge "PBAP Handle IllegalArgumentException"

am: b1f66e2a

Change-Id: I70ab4ab2623030c7c92b1a42b1287dd190111936
parents 92e5069f b1f66e2a
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -435,8 +435,11 @@ final class PbapClientStateMachine extends StateMachine {
            // The device ID is the name of the account.
            accountManager.removeAccountExplicitly(acc);
        }
        try {
            mContext.getContentResolver().delete(CallLog.Calls.CONTENT_URI, null, null);

        } catch (IllegalArgumentException e) {
            // CallLogs could not be deleted, they may not exist yet.
        }
    }

    public void dump(StringBuilder sb) {