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

Commit 50dcc055 authored by William Escande's avatar William Escande
Browse files

Remove allowBlocking from BluetoothManagerService

Since Bluetooth is becoming a mainline module, it can no longer call the
allowBlocking hidden api.
All preliminary work as been done in aosp/1943964. We just forgot to
remove the call to the hidden method.

Bug: 211851706
Test: build + start bt
Tag: #refactor
Change-Id: I810cf7560c5cd1bf7a06ee2612b43b82e4016928
parent cf31b48b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2179,8 +2179,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
                    try {
                        mBluetoothLock.writeLock().lock();
                        if (msg.arg1 == SERVICE_IBLUETOOTHGATT) {
                            mBluetoothGatt =
                                    IBluetoothGatt.Stub.asInterface(Binder.allowBlocking(service));
                            mBluetoothGatt = IBluetoothGatt.Stub.asInterface(service);
                            continueFromBleOnState();
                            break;
                        } // else must be SERVICE_IBLUETOOTH