java.lang.RuntimeException: Unable to destroy activity {com.dewmobile.kuaiya.play/com.dewmobile.kuaiya.act.DmAudioPlayerActivity}: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.dewmobile.kuaiya.play/com.dewmobile.kuaiya.mediaex.DmAudioNotificationService (has extras) }: app is in background uid UidRecord{b6ff779 u0a272 RCVR bg:+6m28s625ms idle change:uncached procs:1 seq(118,118,118)}
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5456)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5493)
at android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:44)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2267)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8173)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
Caused by: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.dewmobile.kuaiya.play/com.dewmobile.kuaiya.mediaex.DmAudioNotificationService (has extras) }: app is in background uid UidRecord{b6ff779 u0a272 RCVR bg:+6m28s625ms idle change:uncached procs:1 seq(118,118,118)}
at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1688)
at android.app.ContextImpl.startService(ContextImpl.java:1633)
at android.content.ContextWrapper.startService(ContextWrapper.java:683)
at com.dewmobile.kuaiya.act.DmAudioPlayerActivity.onDestroy(DmAudioPlayerActivity.java:641)
at android.app.Activity.performDestroy(Activity.java:8225)
at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1342)
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5441)
... 11 more
java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.dewmobile.kuaiya.play/com.dewmobile.kuaiya.mediaex.DmAudioNotificationService (has extras) }: app is in background uid UidRecord{b6ff779 u0a272 RCVR bg:+6m28s625ms idle change:uncached procs:1 seq(118,118,118)}
at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1688)
at android.app.ContextImpl.startService(ContextImpl.java:1633)
at android.content.ContextWrapper.startService(ContextWrapper.java:683)
at com.dewmobile.kuaiya.act.DmAudioPlayerActivity.onDestroy(DmAudioPlayerActivity.java:641)
at android.app.Activity.performDestroy(Activity.java:8225)
at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1342)
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5441)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5493)
at android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:44)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2267)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8173)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)