Loading android/app/src/com/android/bluetooth/btservice/AdapterService.java +2 −1 Original line number Diff line number Diff line Loading @@ -5211,7 +5211,8 @@ public class AdapterService extends Service { OobData remoteP256Data, String callingPackage) { DeviceProperties deviceProp = mRemoteDevices.getDeviceProperties(device); if (deviceProp != null && deviceProp.getBondState() != BluetoothDevice.BOND_NONE) { return false; // true for BONDING, false for BONDED return deviceProp.getBondState() == BluetoothDevice.BOND_BONDING; } if (!isPackageNameAccurate(this, callingPackage, Binder.getCallingUid())) { Loading Loading
android/app/src/com/android/bluetooth/btservice/AdapterService.java +2 −1 Original line number Diff line number Diff line Loading @@ -5211,7 +5211,8 @@ public class AdapterService extends Service { OobData remoteP256Data, String callingPackage) { DeviceProperties deviceProp = mRemoteDevices.getDeviceProperties(device); if (deviceProp != null && deviceProp.getBondState() != BluetoothDevice.BOND_NONE) { return false; // true for BONDING, false for BONDED return deviceProp.getBondState() == BluetoothDevice.BOND_BONDING; } if (!isPackageNameAccurate(this, callingPackage, Binder.getCallingUid())) { Loading