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

Commit bca2fdb3 authored by Chienyuan's avatar Chienyuan Committed by Automerger Merge Worker
Browse files

SAP: Ensure pending intent is immutable am: f4756830 am: 16fc18aa

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Bluetooth/+/12215762

Change-Id: I07c25c79087759cec1343163653cf08147315f80
parents a65d3a4b 16fc18aa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -217,6 +217,7 @@ public class SapServer extends Thread implements Callback {
                mContext.getString(R.string.bluetooth_sap_notif_title),
                NotificationManager.IMPORTANCE_HIGH);
        notificationManager.createNotificationChannel(notificationChannel);
        flags |= PendingIntent.FLAG_IMMUTABLE;
        if(VERBOSE) Log.i(TAG, "setNotification type: " + type);
        /* For PTS TC_SERVER_DCN_BV_03_I we need to expose the option to send immediate disconnect
         * without first sending a graceful disconnect.