修复对话时弹出绑定成功导致对话错乱的bug
authorxue <2144439972@qq.com>
Fri, 6 Mar 2026 06:37:54 +0000 (14:37 +0800)
committerxue <2144439972@qq.com>
Fri, 6 Mar 2026 06:37:54 +0000 (14:37 +0800)
code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/include/ThunderBirdPresenter.h

index 7b9e1bd..234616c 100644 (file)
@@ -38,6 +38,7 @@ namespace OHOS
         bool isDialogueing{false};//是否进入对话模式
         bool dialogueTransitioning{false}; // 对话模式切换中防重入
         bool powerKeyPressed{false};//电源键按下标志位,防止重复触发
+        bool funcKeyPressedForRelease{false};//FUNC键已按下,等待松开时触发短按逻辑
         bool screenOnFromOff{false};//从息屏状态亮屏的标志位,防止松开时立即息屏
         bool pendingDialogueJump{false};//等待音频初始化完成后跳转对话界面的标志位
         bool vadFirstSuccess{false};//VAD服务器第一次认证成功标志位