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

Commit 4385286a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Bluetooth: Change userhandle to current from ALL"

parents a91838a2 0636f791
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1293,7 +1293,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
            intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
            intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
            if (DBG) Log.d(TAG,"Bluetooth State Change Intent: " + prevState + " -> " + newState);
            mContext.sendBroadcastAsUser(intent, UserHandle.ALL,
            mContext.sendBroadcastAsUser(intent, UserHandle.CURRENT,
                    BLUETOOTH_PERM);
        }
    }