{"action":"opened","issue":{"url":"https://api.github.com/repos/thekirankumar/youtube-android-auto/issues/41","repository_url":"https://api.github.com/repos/thekirankumar/youtube-android-auto","labels_url":"https://api.github.com/repos/thekirankumar/youtube-android-auto/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/thekirankumar/youtube-android-auto/issues/41/comments","events_url":"https://api.github.com/repos/thekirankumar/youtube-android-auto/issues/41/events","html_url":"https://github.com/thekirankumar/youtube-android-auto/issues/41","id":295126216,"number":41,"title":"Disable pause when switching activity","user":{"login":"cmeka","id":6840353,"avatar_url":"https://avatars2.githubusercontent.com/u/6840353?v=4","gravatar_id":"","url":"https://api.github.com/users/cmeka","html_url":"https://github.com/cmeka","followers_url":"https://api.github.com/users/cmeka/followers","following_url":"https://api.github.com/users/cmeka/following{/other_user}","gists_url":"https://api.github.com/users/cmeka/gists{/gist_id}","starred_url":"https://api.github.com/users/cmeka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmeka/subscriptions","organizations_url":"https://api.github.com/users/cmeka/orgs","repos_url":"https://api.github.com/users/cmeka/repos","events_url":"https://api.github.com/users/cmeka/events{/privacy}","received_events_url":"https://api.github.com/users/cmeka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-07T12:51:56Z","updated_at":"2018-02-07T12:51:56Z","closed_at":null,"author_association":"NONE","body":"Firstly, thank you for the amazing app and continued development!\r\n\r\nThis isn't really an issue, I'm just wondering if there's a way to have the app not pause a playing stream when switching away from your app, eg. to continue playing in background when opening up maps on the bottom nav bar. This could be an optional feature if it were implemented.\r\nIf you don't think it's needed may you please point me where in the code to implement it so I could attempt it?\r\nDo you know which function gets called when switching away from the app?\r\nI've been experimenting with [onPause](https://github.com/thekirankumar/youtube-android-auto/blob/7cbcc829d807137f4c0eebd53b23f37a66cdb6e9/app/src/main/java/com/thekirankumar/youtubeauto/fragments/WebViewCarFragment.java#L890) commenting out pauseVideoAndSetFlag or changing it to playVideoIfPausedFlag with no success."}}
{"actor":{"display_login":"cmeka"}}