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

Commit 15587899 authored by Amit Mahajan's avatar Amit Mahajan Committed by android-build-merger
Browse files

Merge "Clear calling identity before calling internal APIs" am: ecdd22b5 am: b69d9799

am: ceaea2a2

Change-Id: Ia718bfe282d4e2836d01dec1dcdc79347dcd7441
parents bd5b13e1 ceaea2a2
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -158,7 +158,13 @@ public class SmsController extends ISmsImplBase {
            return;
        }

        SubscriptionInfo info = getSubscriptionInfo(subId);
        long token = Binder.clearCallingIdentity();
        SubscriptionInfo info;
        try {
            info = getSubscriptionInfo(subId);
        } finally {
            Binder.restoreCallingIdentity(token);
        }
        if (isBluetoothSubscription(info)) {
            sendBluetoothText(info, destAddr, text, sentIntent, deliveryIntent);
        } else {