Skip to content

Commit

Permalink
Pause webview when closing, but it may not be able to fix media playb…
Browse files Browse the repository at this point in the history
…ack bug...
  • Loading branch information
hazuki0x0 committed Feb 15, 2021
1 parent 731cc14 commit aec316d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,7 @@ class BrowserActivity : BrowserBaseActivity(), BrowserController, FinishAlertDia
}

val oldWeb = oldData.mWebView
oldWeb.onPause()

if (AppPrefs.save_closed_tab.get()) {
val outState = Bundle()
Expand Down

0 comments on commit aec316d

Please sign in to comment.