* @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
*/
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());
}