{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-mobile/focus-android/issues/4022","repository_url":"https://api.github.com/repos/mozilla-mobile/focus-android","labels_url":"https://api.github.com/repos/mozilla-mobile/focus-android/issues/4022/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-mobile/focus-android/issues/4022/comments","events_url":"https://api.github.com/repos/mozilla-mobile/focus-android/issues/4022/events","html_url":"https://github.com/mozilla-mobile/focus-android/issues/4022","id":390735998,"node_id":"MDU6SXNzdWUzOTA3MzU5OTg=","number":4022,"title":"WV: Webpage still displayed on erase&open if the settings menu is opened","user":{"login":"sv-ohorvath","id":4037709,"node_id":"MDQ6VXNlcjQwMzc3MDk=","avatar_url":"https://avatars2.githubusercontent.com/u/4037709?v=4","gravatar_id":"","url":"https://api.github.com/users/sv-ohorvath","html_url":"https://github.com/sv-ohorvath","followers_url":"https://api.github.com/users/sv-ohorvath/followers","following_url":"https://api.github.com/users/sv-ohorvath/following{/other_user}","gists_url":"https://api.github.com/users/sv-ohorvath/gists{/gist_id}","starred_url":"https://api.github.com/users/sv-ohorvath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sv-ohorvath/subscriptions","organizations_url":"https://api.github.com/users/sv-ohorvath/orgs","repos_url":"https://api.github.com/users/sv-ohorvath/repos","events_url":"https://api.github.com/users/sv-ohorvath/events{/privacy}","received_events_url":"https://api.github.com/users/sv-ohorvath/received_events","type":"User","site_admin":false},"labels":[{"id":724091737,"node_id":"MDU6TGFiZWw3MjQwOTE3Mzc=","url":"https://api.github.com/repos/mozilla-mobile/focus-android/labels/P1","name":"P1","color":"b60205","default":false},{"id":497359850,"node_id":"MDU6TGFiZWw0OTczNTk4NTA=","url":"https://api.github.com/repos/mozilla-mobile/focus-android/labels/bug","name":"bug","color":"ee0701","default":true},{"id":587346055,"node_id":"MDU6TGFiZWw1ODczNDYwNTU=","url":"https://api.github.com/repos/mozilla-mobile/focus-android/labels/needs%20investigation","name":"needs investigation","color":"f4b342","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mozilla-mobile/focus-android/milestones/46","html_url":"https://github.com/mozilla-mobile/focus-android/milestone/46","labels_url":"https://api.github.com/repos/mozilla-mobile/focus-android/milestones/46/labels","id":3897640,"node_id":"MDk6TWlsZXN0b25lMzg5NzY0MA==","number":46,"title":"v8.1 Release","description":"","creator":{"login":"vesta0","id":42752644,"node_id":"MDQ6VXNlcjQyNzUyNjQ0","avatar_url":"https://avatars1.githubusercontent.com/u/42752644?v=4","gravatar_id":"","url":"https://api.github.com/users/vesta0","html_url":"https://github.com/vesta0","followers_url":"https://api.github.com/users/vesta0/followers","following_url":"https://api.github.com/users/vesta0/following{/other_user}","gists_url":"https://api.github.com/users/vesta0/gists{/gist_id}","starred_url":"https://api.github.com/users/vesta0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vesta0/subscriptions","organizations_url":"https://api.github.com/users/vesta0/orgs","repos_url":"https://api.github.com/users/vesta0/repos","events_url":"https://api.github.com/users/vesta0/events{/privacy}","received_events_url":"https://api.github.com/users/vesta0/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":3,"state":"open","created_at":"2018-12-13T19:28:52Z","updated_at":"2018-12-19T17:13:14Z","due_on":"2019-01-08T08:00:00Z","closed_at":null},"comments":2,"created_at":"2018-12-13T15:41:23Z","updated_at":"2018-12-19T18:07:17Z","closed_at":null,"author_association":"NONE","body":"## Steps to reproduce\r\n1. Load a webpage.\r\n2. Open the settings menu and leave it open.\r\n3. Minimize the app.\r\n4. Tap erase&open from the notification tray.\r\n### Expected behavior\r\nA new session is launched.\r\n### Actual behavior\r\nOnly the settings menu is closed. The webpage from step 1 is displayed.\r\n### Device information\r\n\r\n* Android device: \r\nHuawei P9 Lite (Android 6.0), Motorola Nexus 6 (Android 7.1.1)\r\n* Focus version: 8.0.2 Beta, webView. Also reproducing on Master.\r\n"},"comment":{"url":"https://api.github.com/repos/mozilla-mobile/focus-android/issues/comments/448690774","html_url":"https://github.com/mozilla-mobile/focus-android/issues/4022#issuecomment-448690774","issue_url":"https://api.github.com/repos/mozilla-mobile/focus-android/issues/4022","id":448690774,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODY5MDc3NA==","user":{"login":"sblatz","id":4400286,"node_id":"MDQ6VXNlcjQ0MDAyODY=","avatar_url":"https://avatars3.githubusercontent.com/u/4400286?v=4","gravatar_id":"","url":"https://api.github.com/users/sblatz","html_url":"https://github.com/sblatz","followers_url":"https://api.github.com/users/sblatz/followers","following_url":"https://api.github.com/users/sblatz/following{/other_user}","gists_url":"https://api.github.com/users/sblatz/gists{/gist_id}","starred_url":"https://api.github.com/users/sblatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sblatz/subscriptions","organizations_url":"https://api.github.com/users/sblatz/orgs","repos_url":"https://api.github.com/users/sblatz/repos","events_url":"https://api.github.com/users/sblatz/events{/privacy}","received_events_url":"https://api.github.com/users/sblatz/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T18:07:17Z","updated_at":"2018-12-19T18:07:17Z","author_association":"CONTRIBUTOR","body":"This seems directly related to the underlying issue mentioned in the meta, #4034. I believe that fixing that meta would fix both this GV crash and the WV issue. [onStartCommand](https://github.com/mozilla-mobile/focus-android/blob/4ae8f297351302bb62f103918f0ee68dde49d7f8/app/src/main/java/org/mozilla/focus/session/SessionNotificationService.kt#L32) is never getting called anymore when the notification is pressed on, which is leading to erroneous behavior. "}}
{"actor":{"display_login":"sblatz"}}