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

Commit af0e07f7 authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Explicitly define PendingIntent as FLAG_MUTABLE

Test: manual
Change-Id: I163124602279bd9e0813cb9d1d9d88f529e6e525
parent 69affb0c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -518,7 +518,8 @@ public class MmTelFeatureCompatAdapter extends MmTelFeature {
        Intent intent = new Intent(ImsManager.ACTION_IMS_INCOMING_CALL);
        intent.setPackage(TelephonyManager.PHONE_PROCESS_NAME);
        return PendingIntent.getBroadcast(mContext, 0, intent,
                PendingIntent.FLAG_UPDATE_CURRENT);
                // Mutable because information associated with the call is passed back here.
                PendingIntent.FLAG_MUTABLE | PendingIntent.FLAG_UPDATE_CURRENT);
    }

    private int convertCapability(int capability, int radioTech) {