Remove calls to APIs no longer being supported

Bug: 143245666
Test: Manual
Change-Id: Ibec2c9d60ec5c90e9e4f0a03b75c54164f50f42d
This commit is contained in:
Rahul Sabnis
2019-12-04 16:36:21 -08:00
parent ada1f6b10b
commit 9348f31126
2 changed files with 6 additions and 17 deletions

View File

@@ -85,7 +85,7 @@ public final class BluetoothPairingService extends Service {
} else if (action.equals(ACTION_DISMISS_PAIRING)) {
Log.d(TAG, "Notification cancel " + mDevice.getAddress() + " (" +
mDevice.getName() + ")");
mDevice.cancelPairingUserInput();
mDevice.cancelPairing();
} else {
int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE,
BluetoothDevice.ERROR);