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

Commit 960239c6 authored by Hemant Gupta's avatar Hemant Gupta Committed by android-build-merger
Browse files

Merge "MAP: Send message without persisting to avoid duplicate entries." am:...

Merge "MAP: Send message without persisting to avoid duplicate entries." am: 82b140fb am: 2ce289dd
am: 580c5593

Change-Id: I8dd3a83c5daf77f05e8c7e5fc3173a90322dc73e
parents 9199e411 580c5593
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -3176,8 +3176,13 @@ public class BluetoothMapContentObserver {

            Log.d(TAG, "sendMessage to " + msgInfo.phone);

            smsMng.sendMultipartTextMessage(msgInfo.phone, null, parts, sentIntents,
                    deliveryIntents);
            if (parts.size() == 1) {
                smsMng.sendTextMessageWithoutPersisting(msgInfo.phone, null, parts.get(0),
                        sentIntents.get(0), deliveryIntents.get(0));
            } else {
                smsMng.sendMultipartTextMessageWithoutPersisting(msgInfo.phone, null, parts,
                        sentIntents, deliveryIntents);
            }
        }
    }