From: luozheng <1732036298@qq.com> Date: Thu, 4 Jun 2026 03:17:23 +0000 (+0800) Subject: 屏蔽蓝牙耳机相关代码 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=3d52b2c5c8a75caf497437bac56dd32c54f8b4ef;p=mirrors%2FFD230.git 屏蔽蓝牙耳机相关代码 --- diff --git a/code/sdk/application/wearable/n9/nativeapp/nativeui/player/src/MusicPlayerSourceView.cpp b/code/sdk/application/wearable/n9/nativeapp/nativeui/player/src/MusicPlayerSourceView.cpp index f02943741..4b42273c2 100644 --- a/code/sdk/application/wearable/n9/nativeapp/nativeui/player/src/MusicPlayerSourceView.cpp +++ b/code/sdk/application/wearable/n9/nativeapp/nativeui/player/src/MusicPlayerSourceView.cpp @@ -472,7 +472,7 @@ namespace OHOS } // UpdateBluetoothHeadsetConnectLabel(); - // UpdateBluetoothHeadSetViewIsVisible(); + UpdateBluetoothHeadSetViewIsVisible(); /* ----------------------------------- Add ---------------------------------- */ scrollView->Add(titleLabel); @@ -496,10 +496,14 @@ namespace OHOS bool value = PlayersModel::GetInstance()->GetMusicSource(); if (bluetoothHeadsetLabel && bluetoothHeadsetImage && bluetoothHeadsetLableButton && bluetoothHeadsetConnectState) { - bluetoothHeadsetLabel->SetVisible(value ? false : true); - bluetoothHeadsetImage->SetVisible(value ? false : true); - bluetoothHeadsetLableButton->SetVisible(value ? false : true); - bluetoothHeadsetConnectState->SetVisible(value ? false : true); + // bluetoothHeadsetLabel->SetVisible(value ? false : true); + // bluetoothHeadsetImage->SetVisible(value ? false : true); + // bluetoothHeadsetLableButton->SetVisible(value ? false : true); + // bluetoothHeadsetConnectState->SetVisible(value ? false : true); + bluetoothHeadsetLabel->SetVisible(false); + bluetoothHeadsetImage->SetVisible(false); + bluetoothHeadsetLableButton->SetVisible(false); + bluetoothHeadsetConnectState->SetVisible(false); } if (phoneLableButton && watchLableButton) {