diff options
| -rw-r--r-- | core/java/android/server/BluetoothEventLoop.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/java/android/server/BluetoothEventLoop.java b/core/java/android/server/BluetoothEventLoop.java index e9f28fa9cc31..3316ea51f701 100644 --- a/core/java/android/server/BluetoothEventLoop.java +++ b/core/java/android/server/BluetoothEventLoop.java @@ -660,8 +660,7 @@ class BluetoothEventLoop { } else { Log.i(TAG, "Rejecting incoming HID connection from " + address); } - } else if (BluetoothUuid.isBnep(uuid) || BluetoothUuid.isNap(uuid) && - mBluetoothService.allowIncomingTethering()){ + } else if (BluetoothUuid.isBnep(uuid) && mBluetoothService.allowIncomingTethering()){ authorized = true; } else { Log.i(TAG, "Rejecting incoming " + deviceUuid + " connection from " + address); |