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:
db37e07
)
修复老化删除的宏
author
xue
<2144439972@qq.com>
Wed, 18 Mar 2026 11:48:43 +0000
(19:48 +0800)
committer
xue
<2144439972@qq.com>
Wed, 18 Mar 2026 11:48:43 +0000
(19:48 +0800)
code/sdk/zhihui/UI/producttest/src/testold.cpp
patch
|
blob
|
history
diff --git
a/code/sdk/zhihui/UI/producttest/src/testold.cpp
b/code/sdk/zhihui/UI/producttest/src/testold.cpp
index
97d50bb
..
5b80d7d
100644
(file)
--- a/
code/sdk/zhihui/UI/producttest/src/testold.cpp
+++ b/
code/sdk/zhihui/UI/producttest/src/testold.cpp
@@
-271,7
+271,9
@@
namespace OHOS
if (!g_aging_view_valid) {
return; /* 界面已退出或正在清理,避免 use-after-free 导致 Load access fault */
}
+ #ifdef SUPPORT_FACTORY_SERVICE
factorytest_get_aging_data(&aging_t);
+ #endif
OHOS::testoldView *pview = OHOS::testoldView::GetInstance();
if (pview == nullptr || !g_aging_view_valid) {
return;