Skip to content
This repository has been archived by the owner on Nov 9, 2018. It is now read-only.

Commit

Permalink
Fixed a behaviour when it is a blank page when turn off battery safe …
Browse files Browse the repository at this point in the history
…mode

Auditors: @bbondy
  • Loading branch information
SergeyZhukovsky committed Mar 30, 2016
1 parent eb01407 commit 0485bad
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -950,11 +950,9 @@ private void webviewResume(String via) {

@Override
public void resumeOnSetActive() {
switch (Settings.get().getWebViewBatterySaveMode()) {
case Aggressive:
webviewResume("setActive");
break;
}
// Nothing happens if we call resume on resumed WebView but
// we should resume if we had Aggressive mode before and paused it and set it to Default or Off in Settings
webviewResume("setActive");
}

@Override
Expand Down

0 comments on commit 0485bad

Please sign in to comment.