From: luozheng <1732036298@qq.com> Date: Wed, 31 Jul 2024 07:34:01 +0000 (+0800) Subject: 优化下拉视图蓝牙连接显示问题 X-Git-Tag: release_V1.2.70_20241020_135402~721^2~6 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=53bc35686c54e95cd1eb43d4f9fa1ba18fabf3ce;p=mirrors%2FFD230.git 优化下拉视图蓝牙连接显示问题 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/main/src/PullUpDownView.cpp b/code/sdk/application/wearable/fd230app/nativeui/main/src/PullUpDownView.cpp index a1189d2a2..8478313c2 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/main/src/PullUpDownView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/main/src/PullUpDownView.cpp @@ -2,7 +2,7 @@ * @Author: luozheng 1732036298@qq.com * @Date: 2024-06-26 18:14:24 * @LastEditors: luozheng 1732036298@qq.com - * @LastEditTime: 2024-07-29 15:14:53 + * @LastEditTime: 2024-07-31 15:30:14 * @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/main/src/PullUpDownView.cpp */ @@ -917,7 +917,7 @@ namespace OHOS int a2dp = uapi_a2dp_snk_get_device_connect_state(); int hfp = uapi_hfp_connect_state(); - bool bluetoothstatus = (a2dp == 0 || hfp == 0) ? false : true; + bool bluetoothstatus = (a2dp == 0 && hfp == 0) ? false : true; UpdateBlueToothStatus(bluetoothstatus); // UpdateBatteryPosition(GetSignalStrength()); }