AkaneTan / Gramophone

A sane music player built with media3 and material design library that is following android's standard strictly.
GNU General Public License v3.0
802 stars 49 forks source link

crash report #204

Open lschierer opened 3 weeks ago

lschierer commented 3 weeks ago

Describe the bug Crash report waking the app in the morning

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Gramophone should wake and come to the foreground normally

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information): -Gramophone version: 1.0.8.04a37e

Brand: samsung Model: SM-T860 SDK Level: 32

Additional context

Thread: main

Time: 2024-06-10 08:28:23 --------- beginning of crash android.app.RemoteServiceException$ForegroundServiceDidNotStartInTimeException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{f5d3f57 u0 org.akanework.gramophone/.logic.GramophonePlaybackService} at android.app.ActivityThread.generateForegroundServiceDidNotStartInTimeException(ActivityThread.java:2206) at android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:2177) at android.app.ActivityThread.access$3000(ActivityThread.java:324) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2435) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:226) at android.os.Looper.loop(Looper.java:313) at android.app.ActivityThread.main(ActivityThread.java:8855) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)