{"action":"opened","issue":{"url":"https://api.github.com/repos/opendatakit/collect/issues/1288","repository_url":"https://api.github.com/repos/opendatakit/collect","labels_url":"https://api.github.com/repos/opendatakit/collect/issues/1288/labels{/name}","comments_url":"https://api.github.com/repos/opendatakit/collect/issues/1288/comments","events_url":"https://api.github.com/repos/opendatakit/collect/issues/1288/events","html_url":"https://github.com/opendatakit/collect/issues/1288","id":246509709,"number":1288,"title":"Exception in logs when closing the activity using chrome custom tabs","user":{"login":"shobhitagarwal1612","id":8918023,"avatar_url":"https://avatars1.githubusercontent.com/u/8918023?v=4","gravatar_id":"","url":"https://api.github.com/users/shobhitagarwal1612","html_url":"https://github.com/shobhitagarwal1612","followers_url":"https://api.github.com/users/shobhitagarwal1612/followers","following_url":"https://api.github.com/users/shobhitagarwal1612/following{/other_user}","gists_url":"https://api.github.com/users/shobhitagarwal1612/gists{/gist_id}","starred_url":"https://api.github.com/users/shobhitagarwal1612/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shobhitagarwal1612/subscriptions","organizations_url":"https://api.github.com/users/shobhitagarwal1612/orgs","repos_url":"https://api.github.com/users/shobhitagarwal1612/repos","events_url":"https://api.github.com/users/shobhitagarwal1612/events{/privacy}","received_events_url":"https://api.github.com/users/shobhitagarwal1612/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-29T08:55:33Z","updated_at":"2017-07-29T08:55:33Z","closed_at":null,"body":"Closing the activities using a chrome custom tab like the `AboutPreferencesActivity` throws an exception \r\n\r\n```\r\n Activity org.odk.collect.android.preferences.AboutPreferencesActivity has leaked ServiceConnection org.odk.collect.android.utilities.CustomTabHelper$1@1ad1eae that was originally bound here\r\n                                                                         android.app.ServiceConnectionLeaked: Activity org.odk.collect.android.preferences.AboutPreferencesActivity has leaked ServiceConnection org.odk.collect.android.utilities.CustomTabHelper$1@1ad1eae that was originally bound here\r\n                                                                             at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1336)\r\n                                                                             at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1231)\r\n                                                                             at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1450)\r\n                                                                             at android.app.ContextImpl.bindService(ContextImpl.java:1422)\r\n                                                                             at android.content.ContextWrapper.bindService(ContextWrapper.java:636)\r\n                                                                             at android.support.customtabs.CustomTabsClient.bindCustomTabsService(CustomTabsClient.java:70)\r\n                                                                             at org.odk.collect.android.utilities.CustomTabHelper.bindCustomTabsService(CustomTabHelper.java:45)\r\n                                                                             at org.odk.collect.android.preferences.AboutPreferencesFragment.onStart(AboutPreferencesFragment.java:67)\r\n                                                                             at android.app.Fragment.performStart(Fragment.java:2379)\r\n                                                                             at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1027)\r\n                                                                             at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1171)\r\n                                                                             at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1153)\r\n                                                                             at android.app.FragmentManagerImpl.dispatchStart(FragmentManager.java:2044)\r\n                                                                             at android.app.FragmentController.dispatchStart(FragmentController.java:187)\r\n                                                                             at android.app.Activity.performStart(Activity.java:6702)\r\n                                                                             at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2628)\r\n                                                                             at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)\r\n                                                                             at android.app.ActivityThread.-wrap12(ActivityThread.java)\r\n                                                                             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)\r\n                                                                             at android.os.Handler.dispatchMessage(Handler.java:102)\r\n                                                                             at android.os.Looper.loop(Looper.java:154)\r\n                                                                             at android.app.ActivityThread.main(ActivityThread.java:6119)\r\n                                                                             at java.lang.reflect.Method.invoke(Native Method)\r\n                                                                             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)\r\n                                                                             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)\r\n```"}}
{"actor":{"display_login":"shobhitagarwal1612"}}