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

Commit 06540cf9 authored by Hyundo Moon's avatar Hyundo Moon Committed by Android (Google) Code Review
Browse files

Merge "Make hidden constructor of PlaybackInfo as @SystemApi"

parents 59323732 1dfec66d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3621,6 +3621,10 @@ package android.media.session {
    method public void unregisterCallback(@NonNull android.media.session.ControllerCallbackLink);
  }
  public static final class MediaController.PlaybackInfo implements android.os.Parcelable {
    ctor public MediaController.PlaybackInfo(int, int, int, int, android.media.AudioAttributes);
  }
  public abstract static class MediaSession.Callback {
    method public void onSetMediaButtonEventDelegate(@NonNull android.media.session.MediaSessionEngine.MediaButtonEventDelegate);
  }
+2 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package android.media.session;

import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.SystemApi;
import android.annotation.UnsupportedAppUsage;
import android.app.PendingIntent;
import android.content.Context;
@@ -995,6 +996,7 @@ public final class MediaController {
        /**
         * @hide
         */
        @SystemApi
        public PlaybackInfo(int type, int control, int max, int current, AudioAttributes attrs) {
            mVolumeType = type;
            mVolumeControl = control;