mirror of https://github.com/grpc/grpc-java.git
android: fix code style of onBlockedStatusChanged()
This commit is contained in:
parent
39c8f4e584
commit
7a35e3bbde
|
|
@ -297,10 +297,12 @@ public final class AndroidChannelBuilder extends ForwardingChannelBuilder<Androi
|
|||
public void onAvailable(Network network) {
|
||||
delegate.enterIdle();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBlockedStatusChanged (Network network, boolean blocked) {
|
||||
if (!blocked)
|
||||
public void onBlockedStatusChanged(Network network, boolean blocked) {
|
||||
if (!blocked) {
|
||||
delegate.enterIdle();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue