Merge "Differentiate MediaBrowsers in a process for MediaBrowserService" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-05-24 09:59:28 +00:00
committed by Android (Google) Code Review

View File

@@ -541,7 +541,8 @@ 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);
return new RemoteUserInfo(mCurConnection.pkg, mCurConnection.pid, mCurConnection.uid,
mCurConnection.callbacks.asBinder());
}
/**