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

Commit 51b4c948 authored by Etienne Ruffieux's avatar Etienne Ruffieux
Browse files

Removing unnecessary Bluetooth privileged permission check

Tag: #feature
Bug: 215097724
Test: make
Ignore-AOSP-First: only present on internal
Change-Id: I618830fcac069ce881abf9fbe090ece4a4bb124f
parent a9303eb7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -684,7 +684,6 @@ public class HeadsetService extends ProfileService {
                HeadsetService service = getService(source);
                boolean defaultValue = false;
                if (service != null) {
                    enforceBluetoothPrivilegedPermission(service);
                    defaultValue = service.isAudioConnected(device);
                }
                receiver.send(defaultValue);