Open jonalmeida opened 5 years ago
The code above is also for non custom tabs (and the back button!)
The code above is also for non custom tabs (and the back button!)
Doesn't the session-feature handle this back button behaviour already?
It doesn't remove Source.ACTION_VIEW
sessions after going back.
Shall I put that in the feature then? :)
With the fix for https://github.com/mozilla-mobile/android-components/issues/2874 this might no longer be needed.
https://github.com/mozilla-mobile/reference-browser/blob/master/app/src/main/java/org/mozilla/reference/browser/BrowserActivity.kt#L77-L90