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

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

Merge "AML: Unhide 4-params constructor of RemoteUserInfo"

parents 4ea51d1b b505f0aa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -27019,6 +27019,7 @@ package android.media.session {
  public static final class MediaSessionManager.RemoteUserInfo {
    ctor public MediaSessionManager.RemoteUserInfo(java.lang.String, int, int);
    ctor public MediaSessionManager.RemoteUserInfo(java.lang.String, int, int, android.os.IBinder);
    method public java.lang.String getPackageName();
    method public int getPid();
    method public int getUid();
+13 −1
Original line number Diff line number Diff line
@@ -626,12 +626,24 @@ public final class MediaSessionManager {
        private final int mUid;
        private final IBinder mCallerBinder;

        /**
         * Create a new remote user information.
         *
         * @param packageName The package name of the remote user
         * @param pid The pid of the remote user
         * @param uid The uid of the remote user
         */
        public RemoteUserInfo(@NonNull String packageName, int pid, int uid) {
            this(packageName, pid, uid, null);
        }

        /**
         * @hide
         * Create a new remote user information.
         *
         * @param packageName The package name of the remote user
         * @param pid The pid of the remote user
         * @param uid The uid of the remote user
         * @param callerBinder The binder of the remote user. Can be {@code null}.
         */
        public RemoteUserInfo(String packageName, int pid, int uid, IBinder callerBinder) {
            mPackageName = packageName;