* @Author: luozheng 1732036298@qq.com
* @Date: 2024-08-03 11:10:08
* @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-10-05 16:38:12
+ * @LastEditTime: 2024-11-01 15:46:19
* @FilePath: /xts_origin/FD230/code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceConnectingView.cpp
*/
#include "aivoice/include/AiVoiceConnectingView.h"
delete scrollView;
scrollView = nullptr;
}
+ ScreenTurnOff();
}
AiVoiceConnectingView *AiVoiceConnectingView::GetInstance(void)
{\r
ui_api_vibrate_once_func();\r
}\r
- ScreenTurnOn(5*1000);\r
+ uapi_set_screen_on_api();\r
/* -------------------------------------------------------------------------- */\r
}\r
\r
{\r
ui_api_vibrate_once_func();\r
}\r
- ScreenTurnOn(5*1000);\r
+ uapi_set_screen_on_api();\r
/* -------------------------------------------------------------------------- */\r
}\r
\r
delete group;\r
group = nullptr;\r
}\r
+ ScreenTurnOff();\r
stop_connect_timer();\r
g_pBluetoothReconnectView = nullptr;\r
}\r
// 录取时长不足,停止录制并弹出警告
if (RecordingPresenter::GetInstance())
{
- ScreenTurnOn(3 * 1000); // 亮屏3s
+ uapi_set_screen_on_api();
if (true != OHOS::ConfigModel::GetInstance()->GetDnotdisturb() && (!uapi_sleep_mode_flag_get()))
{
// 震动提醒