diff options
author | Andrew Neal <andrewdneal@gmail.com> | 2013-03-28 23:52:07 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2013-04-13 01:36:16 -0700 |
commit | 651d219160460a539f96b2e5a8461152aac9e5e4 (patch) | |
tree | 75234db6b3c6d8252b350057a9d36ac91f82be2d /media | |
parent | 16f0e740f5edd396317ca2243121875db8ce5593 (diff) | |
download | frameworks_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.java | 1 |
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; |