Merge "Reject incoming tethering connections if Tethering option is not enabled."
This commit is contained in:
committed by
Android (Google) Code Review
commit
609602ed77
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user