Implement auto connect logic to connect by 1 click. 10/284210/1 accepted/tizen/unified/20221115.172853
authorAnuj Kumar Singh <anujk.singh@samsung.com>
Fri, 11 Nov 2022 12:47:20 +0000 (18:17 +0530)
committerAnuj Kumar Singh <anujk.singh@samsung.com>
Fri, 11 Nov 2022 12:47:20 +0000 (18:17 +0530)
Change-Id: Id7868389f52f6c824dbbf9a1782c67b09f76964e
Signed-off-by: Anuj Kumar Singh <anujk.singh@samsung.com>
SettingBluetooth/SettingBluetooth/View/BtDeviceView.cs

index 1c2e100db0aaf921724bd596be7bc469a2bba3b3..542d8c8759a45899be0c27935d62da190af2c03c 100644 (file)
@@ -495,10 +495,10 @@ namespace SettingBluetooth
                     if (mPairedDevice.FindDevice(ev.BtDevice) == null)
                     {
                         mPairedDevice.AddDevice(ev.BtDevice);
-                        //if (ev.BtDevice.IsA2dpSupported)
-                        //{
-                        //    DeviceController.ConnectA2dp(ev.BtDevice);
-                        //}
+                        if (ev.BtDevice.IsA2dpSupported)
+                        {
+                            DeviceController.ConnectA2dp(ev.BtDevice);
+                        }
                     }
                     else // audio disconnected case
                     {