{"action":"created","issue":{"url":"https://api.github.com/repos/square/leakcanary/issues/846","repository_url":"https://api.github.com/repos/square/leakcanary","labels_url":"https://api.github.com/repos/square/leakcanary/issues/846/labels{/name}","comments_url":"https://api.github.com/repos/square/leakcanary/issues/846/comments","events_url":"https://api.github.com/repos/square/leakcanary/issues/846/events","html_url":"https://github.com/square/leakcanary/issues/846","id":256098486,"number":846,"title":"Crash - Not Allowed to Start Service Intent","user":{"login":"eygraber","id":1100381,"avatar_url":"https://avatars1.githubusercontent.com/u/1100381?v=4","gravatar_id":"","url":"https://api.github.com/users/eygraber","html_url":"https://github.com/eygraber","followers_url":"https://api.github.com/users/eygraber/followers","following_url":"https://api.github.com/users/eygraber/following{/other_user}","gists_url":"https://api.github.com/users/eygraber/gists{/gist_id}","starred_url":"https://api.github.com/users/eygraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eygraber/subscriptions","organizations_url":"https://api.github.com/users/eygraber/orgs","repos_url":"https://api.github.com/users/eygraber/repos","events_url":"https://api.github.com/users/eygraber/events{/privacy}","received_events_url":"https://api.github.com/users/eygraber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jrodbx","id":1868149,"avatar_url":"https://avatars3.githubusercontent.com/u/1868149?v=4","gravatar_id":"","url":"https://api.github.com/users/jrodbx","html_url":"https://github.com/jrodbx","followers_url":"https://api.github.com/users/jrodbx/followers","following_url":"https://api.github.com/users/jrodbx/following{/other_user}","gists_url":"https://api.github.com/users/jrodbx/gists{/gist_id}","starred_url":"https://api.github.com/users/jrodbx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrodbx/subscriptions","organizations_url":"https://api.github.com/users/jrodbx/orgs","repos_url":"https://api.github.com/users/jrodbx/repos","events_url":"https://api.github.com/users/jrodbx/events{/privacy}","received_events_url":"https://api.github.com/users/jrodbx/received_events","type":"User","site_admin":false},"assignees":[{"login":"jrodbx","id":1868149,"avatar_url":"https://avatars3.githubusercontent.com/u/1868149?v=4","gravatar_id":"","url":"https://api.github.com/users/jrodbx","html_url":"https://github.com/jrodbx","followers_url":"https://api.github.com/users/jrodbx/followers","following_url":"https://api.github.com/users/jrodbx/following{/other_user}","gists_url":"https://api.github.com/users/jrodbx/gists{/gist_id}","starred_url":"https://api.github.com/users/jrodbx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrodbx/subscriptions","organizations_url":"https://api.github.com/users/jrodbx/orgs","repos_url":"https://api.github.com/users/jrodbx/repos","events_url":"https://api.github.com/users/jrodbx/events{/privacy}","received_events_url":"https://api.github.com/users/jrodbx/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/square/leakcanary/milestones/3","html_url":"https://github.com/square/leakcanary/milestone/3","labels_url":"https://api.github.com/repos/square/leakcanary/milestones/3/labels","id":2050754,"number":3,"title":"1.6","description":null,"creator":{"login":"pyricau","id":557033,"avatar_url":"https://avatars3.githubusercontent.com/u/557033?v=4","gravatar_id":"","url":"https://api.github.com/users/pyricau","html_url":"https://github.com/pyricau","followers_url":"https://api.github.com/users/pyricau/followers","following_url":"https://api.github.com/users/pyricau/following{/other_user}","gists_url":"https://api.github.com/users/pyricau/gists{/gist_id}","starred_url":"https://api.github.com/users/pyricau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyricau/subscriptions","organizations_url":"https://api.github.com/users/pyricau/orgs","repos_url":"https://api.github.com/users/pyricau/repos","events_url":"https://api.github.com/users/pyricau/events{/privacy}","received_events_url":"https://api.github.com/users/pyricau/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":9,"state":"open","created_at":"2016-10-05T21:21:40Z","updated_at":"2017-10-02T07:21:58Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2017-09-07T23:23:24Z","updated_at":"2018-04-18T01:25:56Z","closed_at":null,"author_association":"NONE","body":"Using a Pixel on Oreo (release not beta), I put my app in the background. A minute or two later, it crashed. LeakCanary 1.5.1\r\n\r\n```\r\n09-07 19:18:24.049 31787-31804/com.myapp:leakcanary E/AndroidRuntime: FATAL EXCEPTION: IntentService[HeapAnalyzerService]\r\n                                                                                Process: com.myapp:leakcanary, PID: 31787\r\n                                                                                java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.myapp/com.squareup.leakcanary.DisplayLeakService (has extras) }: app is in background uid UidRecord{74385af u0a385 CEM  bg:+3m4s764ms idle procs:2 seq(0,0,0)}\r\n                                                                                    at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1505)\r\n                                                                                    at android.app.ContextImpl.startService(ContextImpl.java:1461)\r\n                                                                                    at android.content.ContextWrapper.startService(ContextWrapper.java:644)\r\n                                                                                    at com.squareup.leakcanary.AbstractAnalysisResultService.sendResultToListener(AbstractAnalysisResultService.java:38)\r\n                                                                                    at com.squareup.leakcanary.internal.HeapAnalyzerService.onHandleIntent(HeapAnalyzerService.java:59)\r\n                                                                                    at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:68)\r\n                                                                                    at android.os.Handler.dispatchMessage(Handler.java:105)\r\n                                                                                    at android.os.Looper.loop(Looper.java:164)\r\n                                                                                    at android.os.HandlerThread.run(HandlerThread.java:65)\r\n```"},"comment":{"url":"https://api.github.com/repos/square/leakcanary/issues/comments/382213715","html_url":"https://github.com/square/leakcanary/issues/846#issuecomment-382213715","issue_url":"https://api.github.com/repos/square/leakcanary/issues/846","id":382213715,"user":{"login":"jcayzac","id":106682,"avatar_url":"https://avatars1.githubusercontent.com/u/106682?v=4","gravatar_id":"","url":"https://api.github.com/users/jcayzac","html_url":"https://github.com/jcayzac","followers_url":"https://api.github.com/users/jcayzac/followers","following_url":"https://api.github.com/users/jcayzac/following{/other_user}","gists_url":"https://api.github.com/users/jcayzac/gists{/gist_id}","starred_url":"https://api.github.com/users/jcayzac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcayzac/subscriptions","organizations_url":"https://api.github.com/users/jcayzac/orgs","repos_url":"https://api.github.com/users/jcayzac/repos","events_url":"https://api.github.com/users/jcayzac/events{/privacy}","received_events_url":"https://api.github.com/users/jcayzac/received_events","type":"User","site_admin":false},"created_at":"2018-04-18T01:25:56Z","updated_at":"2018-04-18T01:25:56Z","author_association":"NONE","body":"@jrodbx #912 comments are closed, so forgive me for posting here.\r\nDo you want any help with the review?"}}
{"actor":{"display_login":"jcayzac"}}