From 6370a576353cff013ca1d96e251c102feeba9a00 Mon Sep 17 00:00:00 2001 From: xue <2144439972@qq.com> Date: Wed, 18 Mar 2026 19:48:43 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E5=A4=8D=E8=80=81=E5=8C=96=E5=88=A0?= =?utf8?q?=E9=99=A4=E7=9A=84=E5=AE=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/zhihui/UI/producttest/src/testold.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/sdk/zhihui/UI/producttest/src/testold.cpp b/code/sdk/zhihui/UI/producttest/src/testold.cpp index 97d50bb82..5b80d7d19 100644 --- 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; -- 2.17.1