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

Commit bfe22a28 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "We now enforce the BLUETOOTH_PRIVILEGED permission on...

Merge "We now enforce the BLUETOOTH_PRIVILEGED permission on AdapterService#connectAllEnabledProfiles and AdapterService#disconnectAllEnabledProfiles as they are implementations of SystemApis"
parents bb9ebe63 840a0f83
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1518,7 +1518,7 @@ public class AdapterService extends Service {
                return false;
            }

            enforceBluetoothAdminPermission(service);
            enforceBluetoothPrivilegedPermission(service);

            return service.connectAllEnabledProfiles(device);
        }
@@ -1530,7 +1530,7 @@ public class AdapterService extends Service {
                return false;
            }

            enforceBluetoothAdminPermission(service);
            enforceBluetoothPrivilegedPermission(service);

            return service.disconnectAllEnabledProfiles(device);
        }