Resolve 3 or more clicks are needed for getting pairing request issue 49/300149/1
authorAnuj Kumar Singh <anujk.singh@samsung.com>
Tue, 17 Oct 2023 10:38:39 +0000 (16:08 +0530)
committerAnuj Kumar Singh <anujk.singh@samsung.com>
Tue, 17 Oct 2023 10:38:39 +0000 (16:08 +0530)
This Patch:
 - Resolves https://code.sec.samsung.net/jira/browse/TEIGHT-5421

Change-Id: Ia399499fa0e077e4051943313a2bf1accc487883
Signed-off-by: Anuj Kumar Singh <anujk.singh@samsung.com>
SettingBluetooth/SettingBluetooth/Controller/DeviceController.cs
packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk

index 02e3f45299385b6a6d19950d0290e2c5ab147ad5..0da84c8009b940e3260056ea20044f1a0120a10b 100644 (file)
@@ -88,6 +88,11 @@ namespace SettingBluetooth
             var device = deviceItem.BindingContext as Device;
             Log.Info(SettingBluetooth.LogTag, "DeviceItem clicked. Address: " + device.Address + ", Name: " + device.Name);
 
+            if (BtModel.IsScanning)
+            {
+                BtModel.StopDiscovery();
+            }
+
             if (device.BtDevice.IsPaired)
             {
                 if (device.BtDevice.IsA2dpSupported)
index 2c8abaa751a849573657dae25e102796ece00603..8cc3aef46898ff2b6e17226db59f19c26c01eb57 100644 (file)
Binary files a/packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk and b/packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk differ