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

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

SAP: Ensure pending intent is immutable am: f4756830

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

Change-Id: Iaa24a6a186a28a46269603ff10b75b5d1b2487b2
parents 71056e2c f4756830
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -216,6 +216,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.