From 5d03625ae47a6293d0029c4dc4415d9f054a3a24 Mon Sep 17 00:00:00 2001 From: Milk <1871357815@qq.com> Date: Sun, 4 Jul 2021 20:21:31 +0800 Subject: [PATCH] hide notification --- .../java/top/niunaijun/blackbox/BlackBoxCore.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Bcore/src/main/java/top/niunaijun/blackbox/BlackBoxCore.java b/Bcore/src/main/java/top/niunaijun/blackbox/BlackBoxCore.java index 2c22ea1..5442690 100644 --- a/Bcore/src/main/java/top/niunaijun/blackbox/BlackBoxCore.java +++ b/Bcore/src/main/java/top/niunaijun/blackbox/BlackBoxCore.java @@ -99,13 +99,13 @@ public class BlackBoxCore extends ClientConfiguration { // android.os.Debug.waitForDebugger(); } if (isServerProcess()) { - Intent intent = new Intent(); - intent.setClass(getContext(), DaemonService.class); - if (BuildCompat.isOreo()) { - getContext().startForegroundService(intent); - } else { - getContext().startService(intent); - } +// Intent intent = new Intent(); +// intent.setClass(getContext(), DaemonService.class); +// if (BuildCompat.isOreo()) { +// getContext().startForegroundService(intent); +// } else { +// getContext().startService(intent); +// } } HookManager.get().init(); }