电话增加退出逻辑判断
authorhcj <1224667075@qq.com>
Thu, 21 Nov 2024 12:40:59 +0000 (20:40 +0800)
committerhcj <1224667075@qq.com>
Thu, 21 Nov 2024 12:40:59 +0000 (20:40 +0800)
code/sdk/application/wearable/fd230app/nativeui/callerlog/src/CallerLogModel.cpp

index 4010b85..2bef3f1 100644 (file)
@@ -162,9 +162,13 @@ void StatusReset(void)
         PhoneServiceScreenCtr(false);
         if(NativeAbility::GetInstance().GetCurSliceId() == VIEW_INCOMING_CALL)
         {
-           
             NativeAbility::GetInstance().Back_CountSlice_make_phone();
         }
+        else if (NativeAbility::GetInstance().GetCurSliceId() == VIEW_REBOOTANDSHUTDOWN)
+        {
+            NativeAbility::GetInstance().ClearSliceIdStack();
+        }
+        
        
     }
     // } else {