Resolve 3 or more clicks are needed for getting pairing request issue 41/300141/1
authorAnuj Kumar Singh <anujk.singh@samsung.com>
Tue, 17 Oct 2023 08:28:08 +0000 (13:58 +0530)
committerAnuj Kumar Singh <anujk.singh@samsung.com>
Tue, 17 Oct 2023 08:28:08 +0000 (13:58 +0530)
Change-Id: I38ece8748b39239c32fc3b194e0d743a65cc7eb8
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 664a252817c667a1e56ca03c121c9faa78a1c6f8..59aa620805f34557291984e2f40f9fd7bca6a5b5 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