diff options
author | wjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-22 18:45:40 +0000 |
---|---|---|
committer | wjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-22 18:45:40 +0000 |
commit | 239cdea05a0afbdf52006bfdc6d1d4587db3197b (patch) | |
tree | 068fd04cc79dae3f3dfde4c634529948175ded8b /android_webview | |
parent | 9315ae6992baa831a1c35c9f04b98773ba4e2b23 (diff) | |
download | chromium_src-239cdea05a0afbdf52006bfdc6d1d4587db3197b.zip chromium_src-239cdea05a0afbdf52006bfdc6d1d4587db3197b.tar.gz chromium_src-239cdea05a0afbdf52006bfdc6d1d4587db3197b.tar.bz2 |
Keep screen on when there is an active WebRTC session on Android.
Reland https://chromiumcodereview.appspot.com/15035013/
When WebRTC session has video channel, the screen is kept on.
Review URL: https://codereview.chromium.org/15743009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201593 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview')
-rw-r--r-- | android_webview/java/src/org/chromium/android_webview/AwContentVideoViewDelegate.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContentVideoViewDelegate.java b/android_webview/java/src/org/chromium/android_webview/AwContentVideoViewDelegate.java index 6a82e62..8dca0b6 100644 --- a/android_webview/java/src/org/chromium/android_webview/AwContentVideoViewDelegate.java +++ b/android_webview/java/src/org/chromium/android_webview/AwContentVideoViewDelegate.java @@ -41,6 +41,10 @@ public class AwContentVideoViewDelegate implements ContentVideoViewContextDelega } @Override + public void keepScreenOn(boolean screenOn) { + } + + @Override public Context getContext() { return mContext; } |