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

Commit ac57a399 authored by Jake Hamby's avatar Jake Hamby Committed by Gerrit Code Review
Browse files

Merge "Telephony: Check SmsTracker's mSentIntent for null"

parents 713f8792 a13eb8b8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1096,7 +1096,9 @@ public abstract class SMSDispatcher extends Handler {
        if (mPendingTrackerCount >= MO_MSG_QUEUE_LIMIT) {
            // Deny sending message when the queue limit is reached.
            try {
                if (tracker.mSentIntent != null) {
                    tracker.mSentIntent.send(RESULT_ERROR_LIMIT_EXCEEDED);
                }
            } catch (CanceledException ex) {
                Rlog.e(TAG, "failed to send back RESULT_ERROR_LIMIT_EXCEEDED");
            }