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

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

Merge "PBAP Handle IllegalArgumentException"

parents c87c400b a1122651
Loading
Loading
Loading
Loading
+5 −2
Original line number Original line Diff line number Diff line
@@ -435,8 +435,11 @@ final class PbapClientStateMachine extends StateMachine {
            // The device ID is the name of the account.
            // The device ID is the name of the account.
            accountManager.removeAccountExplicitly(acc);
            accountManager.removeAccountExplicitly(acc);
        }
        }
        try {
            mContext.getContentResolver().delete(CallLog.Calls.CONTENT_URI, null, null);
            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) {
    public void dump(StringBuilder sb) {