From dc673b96693a7e421d06b57654cbb53ff502a8a8 Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Wed, 24 Aug 2022 15:07:39 -0400 Subject: [PATCH] more debugging --- .../chore_add_debugging_for_bluetooth_pairing.patch | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/patches/chromium/chore_add_debugging_for_bluetooth_pairing.patch b/patches/chromium/chore_add_debugging_for_bluetooth_pairing.patch index 78d76935b2d6f..0225b4323012c 100644 --- a/patches/chromium/chore_add_debugging_for_bluetooth_pairing.patch +++ b/patches/chromium/chore_add_debugging_for_bluetooth_pairing.patch @@ -6,7 +6,7 @@ Subject: chore: add debugging for bluetooth pairing Adds debug logs to figure out why device is failing with unknown error. diff --git a/device/bluetooth/bluetooth_pairing_winrt.cc b/device/bluetooth/bluetooth_pairing_winrt.cc -index a643fea704b95ceda239be403ea13383e30728a7..94b9275875670fec9bb0b119d48eb4ac54c9ca78 100644 +index a643fea704b95ceda239be403ea13383e30728a7..b5efaf7700ee1f6a5bfd56c5ba26b4e3e21c9298 100644 --- a/device/bluetooth/bluetooth_pairing_winrt.cc +++ b/device/bluetooth/bluetooth_pairing_winrt.cc @@ -77,7 +77,7 @@ HRESULT CompleteDeferral( @@ -156,12 +156,14 @@ index a643fea704b95ceda239be403ea13383e30728a7..94b9275875670fec9bb0b119d48eb4ac DCHECK(pairing_deferral_); // There is no way to explicitly cancel an in-progress pairing as // DevicePairingRequestedEventArgs has no Cancel() method. Our approach is to -@@ -298,22 +299,22 @@ void BluetoothPairingWinrt::OnPairingRequested( +@@ -297,23 +298,23 @@ void BluetoothPairingWinrt::CancelPairing() { + void BluetoothPairingWinrt::OnPairingRequested( IDeviceInformationCustomPairing* custom_pairing, IDevicePairingRequestedEventArgs* pairing_requested) { - DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); +- DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); - DVLOG(2) << "BluetoothPairingWinrt::OnPairingRequested()"; + LOG(INFO) << "BluetoothPairingWinrt::OnPairingRequested()"; ++ //DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); DevicePairingKinds pairing_kind; HRESULT hr = pairing_requested->get_PairingKind(&pairing_kind);