Merge "Update log for BluetoothPairingService" am: cfb4ed4b7f
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2328877 Change-Id: I1ce055ca532311ad813fdf5be80ee78e84c48d54 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -99,11 +99,8 @@ public final class BluetoothPairingService extends Service {
|
|||||||
Log.d(TAG, "Notification cancel " + " (" +
|
Log.d(TAG, "Notification cancel " + " (" +
|
||||||
mDevice.getName() + ")");
|
mDevice.getName() + ")");
|
||||||
mDevice.cancelBondProcess();
|
mDevice.cancelBondProcess();
|
||||||
} else {
|
} else { // BluetoothDevice.ACTION_PAIRING_CANCEL
|
||||||
int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE,
|
Log.d(TAG, "Dismiss pairing for " + " (" + mDevice.getName() + ")");
|
||||||
BluetoothDevice.ERROR);
|
|
||||||
Log.d(TAG, "Dismiss pairing for " + " (" +
|
|
||||||
mDevice.getName() + "), BondState: " + bondState);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mNm.cancel(NOTIFICATION_ID);
|
mNm.cancel(NOTIFICATION_ID);
|
||||||
|
Reference in New Issue
Block a user