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

Commit b505f0aa authored by Hyundo Moon's avatar Hyundo Moon
Browse files

AML: Unhide 4-params constructor of RemoteUserInfo

Bug: 119752205
Test: make update-api
Change-Id: Idabdd68a335afae58392ef3bb357991d10718a97
parent c49b4131
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -26764,6 +26764,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
@@ -620,12 +620,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;