屏蔽Ai界面
authorluozheng <1732036298@qq.com>
Sat, 14 Mar 2026 07:55:46 +0000 (15:55 +0800)
committerluozheng <1732036298@qq.com>
Sat, 14 Mar 2026 07:55:46 +0000 (15:55 +0800)
code/sdk/application/wearable/n9/nativeapp/nativeui/aivoice/src/AiVoicePresenter.cpp
code/sdk/application/wearable/n9/nativeapp/nativeui/rebootandshutdown/src/RebootAndShutdownModel.cpp

index 40fba0d..9cff9ab 100644 (file)
@@ -33,8 +33,8 @@
 namespace OHOS
 {
 
-    REGIST_MENU_PRO(VIEW_AI_VOICE, AiVoiceView, AiVoicePresenter,
-                    PNG_APPLIST_AIVOICE_IMAGE_BIG, PNG_APPLIST_AIVOICE_IMAGE, PNG_APPLIST_AIVOICE_IMAGE, "星辰AI", STR_AI_FAMILY_MEALS);
+    // REGIST_MENU_PRO(VIEW_AI_VOICE, AiVoiceView, AiVoicePresenter,
+    //                 PNG_APPLIST_AIVOICE_IMAGE_BIG, PNG_APPLIST_AIVOICE_IMAGE, PNG_APPLIST_AIVOICE_IMAGE, "星辰AI", STR_AI_FAMILY_MEALS);
 
 #ifdef __cplusplus
     extern "C"
index 470796c..1eb210e 100644 (file)
@@ -728,7 +728,7 @@ namespace OHOS
     {
         // RegisterPowerKeyDoubleClickEvent();
         RegisterPowerKeyLongPressEvent();
-        RegisterFuncKeyPressEvent();
+        // RegisterFuncKeyPressEvent();
         RegisterFuncKeyLongPressEvent();
         // RegisterFuncKeyClickEvent();
         RegisterFuncKeyDoubleClickEvent();