Revert of [Android] Fix a flicker in stopping Chrome (patchset #11 id:200001 of https...
commite278dc74a72b863889e17ea110516fb028fe5d47
authorjdduke <jdduke@chromium.org>
Mon, 9 Mar 2015 19:45:14 +0000 (9 12:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 9 Mar 2015 19:45:57 +0000 (9 19:45 +0000)
treed54d4231f0afa8ed5cb7a47eff43122f871cb916
parent76d9000d15c864bb96db8adea06441689517aa00
Revert of [Android] Fix a flicker in stopping Chrome (patchset #11 id:200001 of https://codereview.chromium.org/843883002/)

Reason for revert:
Caused regression with lockscreen battery consumption.

Original issue's description:
> [Android] Fix a flicker in stopping Chrome
>
> Currently, we draw a blank frame as we release resources in onStop().
> This can be prevented if we hide the tab when the window gets hidden instead of
> on activity stop.
>
> BUG=434401
>
> Committed: https://crrev.com/e4b1990c9d49fd9734940fa863513ad43b82c6e7
> Cr-Commit-Position: refs/heads/master@{#311809}

TBR=tedchoc@chromium.org,dtrainor@chromium.org,yusufo@chromium.org,aelias@chromium.org,sievers@chromium.org,changwan@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=434401

Review URL: https://codereview.chromium.org/990183004

Cr-Commit-Position: refs/heads/master@{#319713}
chrome/android/java/src/org/chromium/chrome/browser/Tab.java
chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java
chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java
content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
content/shell/android/java/src/org/chromium/content_shell/ShellManager.java
content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java