projects
/
mirrors
/
FD230.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d26a27
)
电话补
892/2
author
hcj
<1224667075@qq.com>
Fri, 6 Sep 2024 07:50:04 +0000
(15:50 +0800)
committer
hcj
<1224667075@qq.com>
Fri, 6 Sep 2024 07:50:04 +0000
(15:50 +0800)
code/sdk/application/wearable/nativeabilityfwk/include/Ability.h
patch
|
blob
|
history
diff --git
a/code/sdk/application/wearable/nativeabilityfwk/include/Ability.h
b/code/sdk/application/wearable/nativeabilityfwk/include/Ability.h
index
3a5c635
..
84b6c33
100755
(executable)
--- a/
code/sdk/application/wearable/nativeabilityfwk/include/Ability.h
+++ b/
code/sdk/application/wearable/nativeabilityfwk/include/Ability.h
@@
-117,9
+117,9
@@
public:
bool BackCountSlice(int count,const TransitionType transitionId = TransitionType::TRANSITION_INVALID,
const uint16_t priority = gSliceDefaultPriority) {
//如果指定的后退级数 count 为 0 ,直接返回 false 。
- if(count == 0) {
- return false;
- }
+
//
if(count == 0) {
+
//
return false;
+
//
}
while(!backStack_.empty() && count != 0) //当 count 不为 0 且 backStack_ 栈不为空时,弹出栈顶元素 count 次。
{
backStack_.pop();