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

Commit 87d895ae authored by Sanket Agarwal's avatar Sanket Agarwal Committed by Gerrit Code Review
Browse files

Merge "PBAP Handle IllegalArgumentException"

parents 0018887b 7bf8556b
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) {