The window's KEEP_SCREEN_ON flag is more like controlling the screen from an...
The window's KEEP_SCREEN_ON flag is more like controlling the screen from an Activity level, and we shouldn't use it instead, view's KEEP_SCREEN_ON flag should be used. This patch attaches a zero size view to ContentViewCore's mContainerView instead of view tree, so once the ContainerView is invisible, the screen can turned off even PowerSaveBlocker not removed. BUG=270903 Review URL: https://chromiumcodereview.appspot.com/20125004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216840 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment