TrackerControl / tracker-control-android

TrackerControl Android: monitor and control trackers and ads.
https://trackercontrol.org/
GNU General Public License v3.0
1.86k stars 82 forks source link

Crash #423

Open Turhvjbufv opened 2 weeks ago

Turhvjbufv commented 2 weeks ago

Do you use TrackerControl from Google Play/F-Droid/other?

Fdroid by trackercontrol 2024.01.03

Describe the bug A clear and concise description of what the bug is.

Crashes after opening it for some time

To Reproduce Steps to reproduce the behavior: Open the app FATAL EXCEPTION: main Process: net.kollnig.missioncontrol, PID: 27705 java.lang.RuntimeException: Unable to create service eu.faircode.netguard.ServiceSinkhole: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service net.kollnig.missioncontrol/eu.faircode.netguard.ServiceSinkhole at android.app.ActivityThread.handleCreateService(ActivityThread.java:4878) at android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2365) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loopOnce(Looper.java:232) at android.os.Looper.loop(Looper.java:317) at android.app.ActivityThread.main(ActivityThread.java:8501) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878) Caused by: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service net.kollnig.missioncontrol/eu.faircode.netguard.ServiceSinkhole at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:54) at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:50) at android.os.Parcel.readParcelableInternal(Parcel.java:5015) at android.os.Parcel.readParcelable(Parcel.java:4997) at android.os.Parcel.createExceptionOrNull(Parcel.java:3177) at android.os.Parcel.createException(Parcel.java:3166) at android.os.Parcel.readException(Parcel.java:3149) at android.os.Parcel.readException(Parcel.java:3091) at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:6861) at android.app.Service.startForeground(Service.java:775) at eu.faircode.netguard.ServiceSinkhole.onCreate(ServiceSinkhole.java:2556) at android.app.ActivityThread.handleCreateService(ActivityThread.java:4865) ... 9 more

Note: lineage 21 AP1A