From 67b2358aa8e3e84f1d61c18cf6ea757f9dcffa06 Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Sat, 31 Aug 2024 17:34:02 +0800 Subject: [PATCH] =?utf8?q?=E6=9F=A5=E6=89=BE=E6=89=8B=E6=9C=BA=E7=95=8C?= =?utf8?q?=E9=9D=A2=E5=B1=8F=E8=94=BD=E6=9C=AA=E8=BF=9E=E6=8E=A5=E7=95=8C?= =?utf8?q?=E9=9D=A2=EF=BC=8C=E4=B8=8Efigma=E4=B8=8A=E8=AE=BE=E8=AE=A1?= =?utf8?q?=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeui/findphone/src/FindPhoneView.cpp | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/findphone/src/FindPhoneView.cpp b/code/sdk/application/wearable/fd230app/nativeui/findphone/src/FindPhoneView.cpp index cde95682b..5e2e81e97 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/findphone/src/FindPhoneView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/findphone/src/FindPhoneView.cpp @@ -8,7 +8,7 @@ * @Author: luozheng 1732036298@qq.com * @Date: 2024-03-27 10:47:46 * @LastEditors: luozheng 1732036298@qq.com - * @LastEditTime: 2024-08-31 16:40:57 + * @LastEditTime: 2024-08-31 17:31:35 * @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/findphone/src/FindPhoneView.cpp */ #include "findphone/include/FindPhoneView.h" @@ -276,15 +276,18 @@ namespace OHOS { View::OnStart(); - if (FindPhoneModel::GetInstance().GetBlueToothConnectedState() == true) // 判断蓝牙是否是连接状态 - { - FindPhoneViewInit_BlueToothConnected(); - senfindphoneSend(FINDPHONE_START); - } - else - { - FindPhoneViewInit_BlueToothDisConnected(); - } + // if (FindPhoneModel::GetInstance().GetBlueToothConnectedState() == true) // 判断蓝牙是否是连接状态 + // { + // FindPhoneViewInit_BlueToothConnected(); + // senfindphoneSend(FINDPHONE_START); + // } + // else + // { + // FindPhoneViewInit_BlueToothDisConnected(); + // } + + FindPhoneViewInit_BlueToothConnected(); + senfindphoneSend(FINDPHONE_START); FindPhoneGroupView->SetTouchable(true); FindPhoneGroupView->SetDraggable(true); -- 2.17.1