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

Commit 1bd103d5 authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Explicitly define PendingIntent as FLAG_MUTABLE

Bug: 178781346
Test: manual
Merged-In: I163124602279bd9e0813cb9d1d9d88f529e6e525
Change-Id: I163124602279bd9e0813cb9d1d9d88f529e6e525
(cherry picked from commit af0e07f7)
parent 5b8780ff
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -518,7 +518,8 @@ public class MmTelFeatureCompatAdapter extends MmTelFeature {
        Intent intent = new Intent(ImsManager.ACTION_IMS_INCOMING_CALL);
        Intent intent = new Intent(ImsManager.ACTION_IMS_INCOMING_CALL);
        intent.setPackage(TelephonyManager.PHONE_PROCESS_NAME);
        intent.setPackage(TelephonyManager.PHONE_PROCESS_NAME);
        return PendingIntent.getBroadcast(mContext, 0, intent,
        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) {
    private int convertCapability(int capability, int radioTech) {