Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -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(); media/java/android/media/session/MediaSessionManager.java +13 −1 Original line number Diff line number Diff line Loading @@ -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; Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -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();
media/java/android/media/session/MediaSessionManager.java +13 −1 Original line number Diff line number Diff line Loading @@ -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; Loading