Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wwtbuaa01 opened this issue May 15, 2023 · 3 comments
Labels
experimental API Issue tracks stabilizing an experimental API
Milestone

Comments

@wwtbuaa01
Copy link
Contributor

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.

@ejona86
Copy link
Member

ejona86 commented May 15, 2023

Cross-referencing to cl/514624786

@ejona86 ejona86 added experimental API Issue tracks stabilizing an experimental API and removed enhancement labels May 18, 2023
@ejona86 ejona86 added this to the Unscheduled milestone May 18, 2023
@ejona86
Copy link
Member

ejona86 commented May 18, 2023

Experimental API introduced in #10197

@ejona86
Copy link
Member

ejona86 commented Jun 28, 2023

Before this can be stabilized we need resolution of whether Context should be part of the credentials. #10197 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experimental API Issue tracks stabilizing an experimental API
Projects
None yet
Development

No branches or pull requests

2 participants