From 59800b9b00c8c5d0a59fdbf59b68d0f2c36f73a3 Mon Sep 17 00:00:00 2001 From: wenfei Date: Fri, 30 Sep 2022 10:19:44 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20a9e84ee=20from=20https://gitee.com/wenf?= =?UTF-8?q?ei6316/frame=5Faware=5Fsched/pulls/52=20=E5=91=8A=E8=AD=A6?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wenfei --- frameworks/core/frame_aware_policy/src/intellisense_server.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/frameworks/core/frame_aware_policy/src/intellisense_server.cpp b/frameworks/core/frame_aware_policy/src/intellisense_server.cpp index 190c6eb..11a79ff 100644 --- a/frameworks/core/frame_aware_policy/src/intellisense_server.cpp +++ b/frameworks/core/frame_aware_policy/src/intellisense_server.cpp @@ -84,11 +84,9 @@ bool IntelliSenseServer::ReadXml() void IntelliSenseServer::NewForeground(int pid) { HITRACE_METER(HITRACE_TAG_ACE); - bool found = false; int newCreatedRtg = 0; for (auto iter = m_historyApp.begin(); iter != m_historyApp.end(); iter++) { if (iter->GetAppPid() == pid) { - found = true; RME_LOGI("[ReportMessage]pid %{public}d change to foreground.", pid); if (iter->GetAppState() != AppState::APP_FOREGROUND) { iter->SetUiTid(pid); -- Gitee