Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 651d2191 authored by Andrew Neal's avatar Andrew Neal Committed by Gerrit Code Review
Browse files

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().
parent 16f0e740
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1302,7 +1302,6 @@ public class MediaPlayer
     */
    public void release() {
        stayAwake(false);
        updateSurfaceScreenOn();
        mOnPreparedListener = null;
        mOnBufferingUpdateListener = null;
        mOnCompletionListener = null;