From 69254a37942a496f1c72ef71bc5d4814b11d726a Mon Sep 17 00:00:00 2001 From: sunman4 Date: Wed, 20 Apr 2022 17:00:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9service=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: sunman4 --- launcher/launcher/src/main/cpp/swipe_view.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/launcher/launcher/src/main/cpp/swipe_view.cpp b/launcher/launcher/src/main/cpp/swipe_view.cpp index 1fe5348..e937f80 100755 --- a/launcher/launcher/src/main/cpp/swipe_view.cpp +++ b/launcher/launcher/src/main/cpp/swipe_view.cpp @@ -130,7 +130,9 @@ void SwipeView::OnSetUpView() if (memcmp(SCREENSAVER_BUNDLE_NAME, pBundleInfos[j].bundleName, strlen(pBundleInfos[j].bundleName)) == 0) { break; } - + if (pBundleInfos[j].abilityInfos->abilityType == SERVICE) { + break; + } AppInfo* app = new AppInfo(); app->funcclick_ = AppEvent::ClickEvent; app->funclPress_ = AppEvent::LongPressEvent; -- Gitee