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

Commit c93fe1c3 authored by Brad Ebinger's avatar Brad Ebinger Committed by android-build-merger
Browse files

Merge "Use directed intent for Incoming call compat"

am: 553c9eef

Change-Id: I1a7f3120b04954d9d388dc1aef796607ac72998a
parents 57a13277 553c9eef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -510,7 +510,7 @@ public class MmTelFeatureCompatAdapter extends MmTelFeature {

    private PendingIntent createIncomingCallPendingIntent() {
        Intent intent = new Intent(ImsManager.ACTION_IMS_INCOMING_CALL);
        intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
        intent.setPackage(TelephonyManager.PHONE_PROCESS_NAME);
        return PendingIntent.getBroadcast(mContext, 0, intent,
                PendingIntent.FLAG_UPDATE_CURRENT);
    }