Moderpach / Extinguish

An app that helps you run any android apps as if the screen is on while it is off.
GNU General Public License v3.0
126 stars 5 forks source link

Research android.app.BackgroundServiceStartNotAllowedException #9

Closed Moderpach closed 1 month ago

Moderpach commented 2 months ago
Exception android.app.BackgroundServiceStartNotAllowedException:
  at android.app.ContextImpl.startServiceCommon (ContextImpl.java:1956)
  at android.app.ContextImpl.startService (ContextImpl.java:1911)
  at android.content.ContextWrapper.startService (ContextWrapper.java:836)
  at own.moderpach.extinguish.service.ExtinguishServiceTile.onClick (ExtinguishServiceTile.kt)
  at android.service.quicksettings.TileService$H.handleMessage (TileService.java:494)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loopOnce (Looper.java:222)
  at android.os.Looper.loop (Looper.java:314)
  at android.app.ActivityThread.main (ActivityThread.java:8680)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:565)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1081)