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

Commit 580c5593 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: 82b140fb

am: 2ce289dd

Change-Id: I0d8a44aa9343e35c0dd725e4e445487df3370561
parents 7a156260 2ce289dd
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);
            }
        }
    }