* @Author: luozheng 1732036298@qq.com
* @Date: 2024-03-25 17:31:19
* @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-09-09 21:19:46
+ * @LastEditTime: 2024-09-09 21:29:37
* @FilePath: /FD230/code/sdk/application/wearable/service/msg_center/include/notify/findwatch_notification.h
*/
#ifndef FIND_WATCH_NOTIFICATION_H
AudioSession sessionId;
AudioInterrupt interrupt;
const char *RingMusicName = "/music/ring/findwatch.mp3";
- char * path_{nullptr};
+ const char * path_{nullptr};
bool FindWatchNotifyFlag{false}; // 判断是查找手表, 由notify生成界面
bool X_DRAG_FLAG{false};
};
* @Author: luozheng 1732036298@qq.com
* @Date: 2024-03-25 17:33:47
* @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-09-09 21:20:56
+ * @LastEditTime: 2024-09-09 21:29:58
* @FilePath: /FD230/code/sdk/application/wearable/service/msg_center/src/notify/findwatch_notification.cpp
* @details:实现查找手表的功能一般需要手表和智能手机之间的配合,通常是通过手机上的应用(App)或其他设备发送指令给手表,触发手表的查找功能。
* 以下是基本的实现步骤:
*/
void FindWatchViewEventListener::PopInterPlayMusic(const char *path)
{
- path_ = const_cast<char *>(path);
+ path_ = path;
ScreenTurnOn(-1); // 亮屏操作
if(true == ConfigModel::GetInstance()->GetDnotdisturb() || (uapi_sleep_mode_flag_get()))