使用通知控件的“停止”按钮停止服务?

时间:2019-01-15 12:30:09

标签: android kotlin exoplayer

当我按下停止按钮时,将引发Throwable异常。 这是堆栈跟踪:

box webhooks:create folder test_lab -T FILE.UPLOADED -a http://test-lab.us-e2.cloudhub.io/lab -t e66kxXI1MyGtXTs7888uy8hutPrreH9R

这是 AndroidManifest.xml

ActivityManager: Sending non-protected broadcast com.google.android.exoplayer.stop from system 4132:com.android.systemui/u0a5
    java.lang.Throwable
        at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:21257)
        at com.android.server.am.ActivityManagerService.broadcastIntentInPackage(ActivityManagerService.java:21890)
        at com.android.server.am.PendingIntentRecord.sendInner(PendingIntentRecord.java:357)
        at com.android.server.am.ActivityManagerService.startActivityIntentSender(ActivityManagerService.java:5900)
        at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:298)
        at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3538)
        at android.os.Binder.execTransact(Binder.java:573)

它与broadcastIntentLocked有关吗?

0 个答案:

没有答案