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

Commit 098e2c96 authored by Yuyang Huang's avatar Yuyang Huang
Browse files

method name fix for getConnectionHandle

Test: compiles
Bug: 268745781
Change-Id: Ia1868f7aba3e24a90122a59a13662abd9bd6b61c
parent d754f039
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2554,7 +2554,7 @@ public class AdapterService extends Service {
                BluetoothDevice device, int transport, AttributionSource attributionSource) {
            AdapterService service = getService();
            if (service == null
                    || !callerIsSystemOrActiveOrManagedUser(service, TAG, "setActiveDevice")
                    || !callerIsSystemOrActiveOrManagedUser(service, TAG, "getConnectionHandle")
                    || !Utils.checkConnectPermissionForDataDelivery(
                        service, attributionSource, TAG)) {
                return BluetoothDevice.ERROR;