Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
For #10071: Fixes PWA showing toolbar onPause
Browse files Browse the repository at this point in the history
  • Loading branch information
sblatz committed Apr 29, 2020
1 parent 87c95a6 commit d5f3bb0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -568,9 +568,8 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, Session
final override fun onPause() {
super.onPause()
// If we didn't enter PiP, exit full screen on pause
if (!enteredPip) {
if (!enteredPip && fullScreenFeature.onBackPressed()) {
fullScreenChanged(false)
fullScreenFeature.onBackPressed()
}
enteredPip = false
if (findNavController().currentDestination?.id != R.id.searchFragment) {
Expand Down

1 comment on commit d5f3bb0

@firefoxci-taskcluster
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uh oh! Looks like an error! Details

Bad credentials

Please sign in to comment.