-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Following the documentation, I'm trying to add an action to this app, but when triggering the action, it fails with the following stacktace. The emulator is running Android 13 and the FOREGROUND_SERVICE permission has been added to the manifest.
2023-02-12 13:06:25.451 619-808 NotificationService system_process E Suppressing toast from package com.porg.blocker by user request.
2023-02-12 13:06:38.693 2578-2578 System.err com.porg.blocker W android.app.ForegroundServiceStartNotAllowedException: startForegroundService() not allowed due to mAllowStartForeground false: service com.porg.blocker/com.joaomgcd.taskerpluginlibrary.action.IntentServiceAction
2023-02-12 13:06:38.700 2578-2578 System.err com.porg.blocker W at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:54)
2023-02-12 13:06:38.700 2578-2578 System.err com.porg.blocker W at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:50)
2023-02-12 13:06:38.700 2578-2578 System.err com.porg.blocker W at android.os.Parcel.readParcelableInternal(Parcel.java:4813)
2023-02-12 13:06:38.700 2578-2578 System.err com.porg.blocker W at android.os.Parcel.readParcelable(Parcel.java:4775)
2023-02-12 13:06:38.700 2578-2578 System.err com.porg.blocker W at android.os.Parcel.createExceptionOrNull(Parcel.java:3006)
2023-02-12 13:06:38.700 2578-2578 System.err com.porg.blocker W at android.os.Parcel.createException(Parcel.java:2995)
2023-02-12 13:06:38.700 2578-2578 System.err com.porg.blocker W at android.os.Parcel.readException(Parcel.java:2978)
2023-02-12 13:06:38.700 2578-2578 System.err com.porg.blocker W at android.os.Parcel.readException(Parcel.java:2920)
2023-02-12 13:06:38.700 2578-2578 System.err com.porg.blocker W at android.app.IActivityManager$Stub$Proxy.startService(IActivityManager.java:5302)
2023-02-12 13:06:38.700 2578-2578 System.err com.porg.blocker W at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1894)
2023-02-12 13:06:38.701 2578-2578 System.err com.porg.blocker W at android.app.ContextImpl.startForegroundService(ContextImpl.java:1870)
2023-02-12 13:06:38.701 2578-2578 System.err com.porg.blocker W at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:822)
2023-02-12 13:06:38.701 2578-2578 System.err com.porg.blocker W at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:822)
2023-02-12 13:06:38.701 2578-2578 System.err com.porg.blocker W at com.joaomgcd.taskerpluginlibrary.extensions.InternalKt.startServiceDependingOnTargetApi(Internal.kt:59)
2023-02-12 13:06:38.701 2578-2578 System.err com.porg.blocker W at com.joaomgcd.taskerpluginlibrary.action.BroadcastReceiverAction.onReceive(ActionReceivers.kt:33)
2023-02-12 13:06:38.701 2578-2578 System.err com.porg.blocker W at android.app.ActivityThread.handleReceiver(ActivityThread.java:4306)
2023-02-12 13:06:38.701 2578-2578 System.err com.porg.blocker W at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0)
2023-02-12 13:06:38.701 2578-2578 System.err com.porg.blocker W at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2153)
2023-02-12 13:06:38.701 2578-2578 System.err com.porg.blocker W at android.os.Handler.dispatchMessage(Handler.java:106)
2023-02-12 13:06:38.701 2578-2578 System.err com.porg.blocker W at android.os.Looper.loopOnce(Looper.java:201)
2023-02-12 13:06:38.701 2578-2578 System.err com.porg.blocker W at android.os.Looper.loop(Looper.java:288)
2023-02-12 13:06:38.701 2578-2578 System.err com.porg.blocker W at android.app.ActivityThread.main(ActivityThread.java:7872)
2023-02-12 13:06:38.701 2578-2578 System.err com.porg.blocker W at java.lang.reflect.Method.invoke(Native Method)
2023-02-12 13:06:38.701 2578-2578 System.err com.porg.blocker W at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
2023-02-12 13:06:38.701 2578-2578 System.err com.porg.blocker W at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Metadata
Metadata
Assignees
Labels
No labels