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

Commit e45f195a authored by Brad Ebinger's avatar Brad Ebinger Committed by android-build-merger
Browse files

Merge "Remove a tracker from the map in ImsSmsDispatcher if no need anymore" am: 77c73f95

am: 8db10d71

Change-Id: I9ad63bab4daee6d964743ad18df925a9ae1be486
parents 9ca12c24 8db10d71
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -124,6 +124,10 @@ public class ImsSmsDispatcher extends SMSDispatcher {
            tracker.mMessageRef = messageRef;
            switch(status) {
                case ImsSmsImplBase.SEND_STATUS_OK:
                    if (tracker.mDeliveryIntent == null) {
                        // Remove the tracker here if a status report is not requested.
                        mTrackers.remove(token);
                    }
                    tracker.onSent(mContext);
                    mPhone.notifySmsSent(tracker.mDestAddress);
                    break;