summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorAndrew Neal <andrewdneal@gmail.com>2013-03-28 23:52:07 -0500
committerGerrit Code Review <gerrit@cyanogenmod.org>2013-04-13 01:36:16 -0700
commit651d219160460a539f96b2e5a8461152aac9e5e4 (patch)
tree75234db6b3c6d8252b350057a9d36ac91f82be2d /media
parent16f0e740f5edd396317ca2243121875db8ce5593 (diff)
downloadframeworks_base-651d219160460a539f96b2e5a8461152aac9e5e4.zip
frameworks_base-651d219160460a539f96b2e5a8461152aac9e5e4.tar.gz
frameworks_base-651d219160460a539f96b2e5a8461152aac9e5e4.tar.bz2
Remove unnecessary updateSurfaceScreenOn call.
This change stops updateSurfaceScreenOn() from being called one time right after another. It's called at the end of stayAwake(boolean awake), which is called right before updateSurfaceScreenOn() in release().
Diffstat (limited to 'media')
-rw-r--r--media/java/android/media/MediaPlayer.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/media/java/android/media/MediaPlayer.java b/media/java/android/media/MediaPlayer.java
index ef0da3a..684ff2c 100644
--- a/media/java/android/media/MediaPlayer.java
+++ b/media/java/android/media/MediaPlayer.java
@@ -1302,7 +1302,6 @@ public class MediaPlayer
*/
public void release() {
stayAwake(false);
- updateSurfaceScreenOn();
mOnPreparedListener = null;
mOnBufferingUpdateListener = null;
mOnCompletionListener = null;