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

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

Remove Constructor of RemoteUserInfo which takes IBinder

Bug: 119752205, Bug: 122550211
Test: make -j;
Change-Id: I6c9664d67ec9f00aec563996d2e45cec2e9397bc
parent a4e1b67d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1077,8 +1077,7 @@ public final class MediaSession {

        private static RemoteUserInfo createRemoteUserInfo(String packageName, int pid, int uid,
                ISessionControllerCallback caller) {
            return new RemoteUserInfo(packageName, pid, uid,
                    caller != null ? caller.asBinder() : null);
            return new RemoteUserInfo(packageName, pid, uid);
        }

        @Override
+1 −2
Original line number Diff line number Diff line
@@ -544,8 +544,7 @@ public abstract class MediaBrowserService extends Service {
            throw new IllegalStateException("This should be called inside of onGetRoot or"
                    + " onLoadChildren or onLoadItem methods");
        }
        return new RemoteUserInfo(mCurConnection.pkg, mCurConnection.pid, mCurConnection.uid,
                mCurConnection.callbacks.asBinder());
        return new RemoteUserInfo(mCurConnection.pkg, mCurConnection.pid, mCurConnection.uid);
    }

    /**