Skip to content

Commit 2ee4f9b

Browse files
authored
AndroidComponentAddress constructor can be private. (#12188)
1 parent 74aee11 commit 2ee4f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

binder/src/main/java/io/grpc/binder/AndroidComponentAddress.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public final class AndroidComponentAddress extends SocketAddress {
5858
@Nullable
5959
private final UserHandle targetUser; // null means the same user that hosts this process.
6060

61-
protected AndroidComponentAddress(Intent bindIntent, @Nullable UserHandle targetUser) {
61+
private AndroidComponentAddress(Intent bindIntent, @Nullable UserHandle targetUser) {
6262
checkArgument(
6363
bindIntent.getComponent() != null || bindIntent.getPackage() != null,
6464
"'bindIntent' must be explicit. Specify either a package or ComponentName.");

0 commit comments

Comments
 (0)