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

Commit c43e732c authored by Eric Laurent's avatar Eric Laurent Committed by android-build-merger
Browse files

Merge "MediaPLayer: remove unused code" into qt-dev am: 1b623630

am: a9d5bf49

Change-Id: Ic060c46ae77c528cfc243d89b482fa302f10391a
parents 33dd76ec a9d5bf49
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -629,7 +629,6 @@ public class MediaPlayer extends PlayerBase
    private boolean mStayAwake;
    private int mStreamType = AudioManager.USE_DEFAULT_STREAM_TYPE;
    private int mUsage = -1;
    private boolean mBypassInterruptionPolicy;

    // Modular DRM
    private UUID mDrmUUID;
@@ -2218,8 +2217,6 @@ public class MediaPlayer extends PlayerBase
        }
        baseUpdateAudioAttributes(attributes);
        mUsage = attributes.getUsage();
        mBypassInterruptionPolicy = (attributes.getAllFlags()
                & AudioAttributes.FLAG_BYPASS_INTERRUPTION_POLICY) != 0;
        Parcel pattributes = Parcel.obtain();
        attributes.writeToParcel(pattributes, AudioAttributes.FLATTEN_TAGS);
        setParameter(KEY_PARAMETER_AUDIO_ATTRIBUTES, pattributes);