Open
Description
BinderChannel, as specified in gRFC L73 only supports the cross-process communication within the same Android user. However, some special Android applications need to do cross-user communication either using Context.bindServiceAsUser or DevicePolicyManager.bindDeviceAdminServiceAsUser.
TargetUserHandle is introduced in BinderChannel to enhance this use case. In the meanwhile BinderChannelCredentials is introduced in experimental stage to capture arbitrary arguments needed by DevicePolicyManager or other Android components to establish a binder connection.