From 1915b005a9ad434e1be467f8a97c1f780a799e6a Mon Sep 17 00:00:00 2001 From: Kr328 <39107975+Kr328@users.noreply.github.com> Date: Thu, 19 Dec 2019 21:52:55 +0800 Subject: [PATCH] change start activity flags --- .../java/com/github/kr328/clash/service/ClashNotification.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/src/main/java/com/github/kr328/clash/service/ClashNotification.kt b/service/src/main/java/com/github/kr328/clash/service/ClashNotification.kt index 3817f58..0483c44 100644 --- a/service/src/main/java/com/github/kr328/clash/service/ClashNotification.kt +++ b/service/src/main/java/com/github/kr328/clash/service/ClashNotification.kt @@ -37,7 +37,7 @@ class ClashNotification(private val context: Service) { MAIN_ACTIVITY_NAME ) ).setFlags( - Intent.FLAG_ACTIVITY_SINGLE_TOP or Intent.FLAG_ACTIVITY_CLEAR_TOP + Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK ), PendingIntent.FLAG_UPDATE_CURRENT )