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) {
|
public void onAvailable(Network network) {
|
||||||
delegate.enterIdle();
|
delegate.enterIdle();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onBlockedStatusChanged (Network network, boolean blocked) {
|
public void onBlockedStatusChanged(Network network, boolean blocked) {
|
||||||
if (!blocked)
|
if (!blocked) {
|
||||||
delegate.enterIdle();
|
delegate.enterIdle();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue