Additional changes that were added post-submission of PR 9669 for promoting out of experimental status.

This commit is contained in:
cbianchi-7 2022-12-01 10:10:26 -08:00 committed by Eric Anderson
parent dceb764385
commit e36275e951
3 changed files with 5 additions and 3 deletions

View File

@ -103,7 +103,8 @@ public final class AndroidComponentAddress extends SocketAddress {
/** /**
* Returns the Authority which is the package name of the target app. * Returns the Authority which is the package name of the target app.
* See {@link android.content.ComponentName}. *
* <p>See {@link android.content.ComponentName}.
*/ */
public String getAuthority() { public String getAuthority() {
return getComponent().getPackageName(); return getComponent().getPackageName();

View File

@ -26,7 +26,7 @@ import io.grpc.Internal;
public class BinderInternal { public class BinderInternal {
/** /**
* Set the receiver's {@link IBinder} using {@link IBinderReceiver#set(IBinder)}. * Sets the receiver's {@link IBinder} using {@link IBinderReceiver#set(IBinder)}.
*/ */
static void setIBinder(IBinderReceiver receiver, IBinder binder) { static void setIBinder(IBinderReceiver receiver, IBinder binder) {
receiver.set(binder); receiver.set(binder);

View File

@ -55,7 +55,8 @@ public final class SecurityPolicies {
} }
/** /**
* Creates a default {@link SecurityPolicy} that checks authorization based on UID. * Creates a default {@link SecurityPolicy} that allows access only to callers with the same UID
* as the current process.
*/ */
public static SecurityPolicy internalOnly() { public static SecurityPolicy internalOnly() {
return new SecurityPolicy() { return new SecurityPolicy() {