Skip to content

Extend BinderChannel to support cross-user communication and introduce BinderChannelCredentials (io.grpc.binder.*) in experimental. #10173

Open
@wwtbuaa01

Description

@wwtbuaa01

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    experimental APIIssue tracks stabilizing an experimental API

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions