隐藏视频播放,设置开机播放音乐
authorCaisking <3449750381@qq.com>
Thu, 14 Dec 2023 07:40:08 +0000 (15:40 +0800)
committerCaisking <3449750381@qq.com>
Thu, 14 Dec 2023 07:40:08 +0000 (15:40 +0800)
.vscode/settings.json
code/sdk/application/wearable/nativeapp/nativeui/player/include/PlayersModel.h
code/sdk/application/wearable/nativeapp/nativeui/player/src/PlayersModel.cpp
code/sdk/application/wearable/nativeapp/nativeui/uisample/uitest/framework/src/ui_test_group.cpp

index fc174e1..07bbe7e 100644 (file)
@@ -3,6 +3,7 @@
         "ios": "cpp",
         "iterator": "cpp",
         "bitset": "cpp",
-        "string_view": "cpp"
+        "string_view": "cpp",
+        "chrono": "cpp"
     }
 }
\ No newline at end of file
index 724c739..449c4ca 100755 (executable)
@@ -107,7 +107,7 @@ private:
     AudioInterrupt interrupt;
     std::shared_ptr<PlayerInterruptListener> playerInterruptListener{nullptr};
     int64_t circleProgress{0};
-    bool playButtonState{false};
+    bool playButtonState{true};
     void SequencePlayout(void);
     void RandomPlayout(void);
     void NextSong(int16_t index);
index 2236a0f..f4d8095 100755 (executable)
@@ -254,6 +254,7 @@ int PlayersModel::PlayerInit(void)
     playersPresenter->SetTitleSetText(songName);
     playersPresenter->SetPlaybackProgress(circleProgress);
     playersPresenter->SetPlayerState(playButtonState);
+    PlayerStat();
     return 0;
 }
 
index db1ab83..786e392 100755 (executable)
@@ -54,7 +54,7 @@ void UITestGroup::SetUpTestCase()
     testCaseList_->PushBack(TestCaseInfo{"倒计时", new UITestCountdown()});
     testCaseList_->PushBack(TestCaseInfo{"动画曲线", new UITestRunningBall()});
 #endif
-    testCaseList_->PushBack(TestCaseInfo{"视频播放", new UITestVideoPlay()});
+    //testCaseList_->PushBack(TestCaseInfo{"视频播放", new UITestVideoPlay()});
 }
 
 List<TestCaseInfo>& UITestGroup::GetTestCase()