修改铃声MP3路径为music文件夹下
authorluozheng <1732036298@qq.com>
Sat, 22 Jun 2024 03:38:09 +0000 (11:38 +0800)
committerluozheng <1732036298@qq.com>
Sat, 22 Jun 2024 03:38:09 +0000 (11:38 +0800)
code/sdk/application/wearable/service/msg_center/src/notify/findwatch_notification.cpp
code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/music/ring/alarm.mp3 [moved from code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/ring/alarm.mp3 with 100% similarity]
code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/music/ring/calling.mp3 [moved from code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/ring/calling.mp3 with 100% similarity]
code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/music/ring/findwatch.mp3 [moved from code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/ring/findwatch.mp3 with 100% similarity]

index 0302310..19bdd10 100644 (file)
@@ -2,7 +2,7 @@
  * @Author: luozheng 1732036298@qq.com
  * @Date: 2024-03-25 17:33:47
  * @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-03-26 18:25:06
+ * @LastEditTime: 2024-06-22 11:35:48
  * @FilePath: /FD230/code/sdk/application/wearable/service/msg_center/src/notify/findwatch_notification.cpp
  * @details:实现查找手表的功能一般需要手表和智能手机之间的配合,通常是通过手机上的应用(App)或其他设备发送指令给手表,触发手表的查找功能。
  * 以下是基本的实现步骤:
@@ -87,7 +87,7 @@ namespace OHOS
     {
         // 本地播放文件路径和状态
         WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "RingPlayerInit start!");
-        std::string strSrcMusic("/user/res/ring");
+        std::string strSrcMusic("/music/ring");
         std::string tempStr("/");
         std::string strName = RingMusicName;
         uri = strSrcMusic + tempStr + strName;