Skip to content

Commit 67fa36c

Browse files
committed
修复一个判断问题
1 parent 0ff5c7e commit 67fa36c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/src/main/java/me/teble/xposed/autodaily/hook/CoreServiceHook.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@ class CoreServiceHook : BaseHook() {
206206
if (param.thisObject::class.java != cCoreService) {
207207
return
208208
}
209-
LogUtil.d("CoreService onStartCommand")
210209
val args = param.args
211210
val service = param.thisObject as Service
212211
val intent = args[0] as Intent?

app/src/main/java/me/teble/xposed/autodaily/hook/notification/XANotification.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ object XANotification {
5353
}
5454
setOngoing(onGoing)
5555
}.build()
56-
notificationManager.notify(if (isTask) atomicId++ else NOTIFICATION_ID, mNotification)
56+
notificationManager.notify(if (!isTask) atomicId++ else NOTIFICATION_ID, mNotification)
5757
}
5858

5959
fun stop() {

0 commit comments

Comments
 (0)