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

Commit f236dec7 authored by Rahul Sabnis's avatar Rahul Sabnis
Browse files

Fix for BluetoothPan#setBluetoothTethering which is deprecated in T.

The API will be soft removed in a following release, but we need to
maintain functionality until then.

Tag: #feature
Bug: 216491197
Test: atest BluetoothHostTest#testSetAndCheckBluetoothTethering
Change-Id: I7bf28be5586d32d79973a6f1b318d6345dc61e81
parent fe2ee2d9
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -484,9 +484,6 @@ public class PanService extends ProfileService {
                    return;
                }
            }
        } else if (mBluetoothTetheringCallbacks.isEmpty()) {
            Log.e(TAG, "setBluetoothTethering: " + value + ", Error: no callbacks registered.");
            return;
        }
        if (mTetherOn != value) {
            //drop any existing panu or pan-nap connection when changing the tethering state