android: fix code style of onBlockedStatusChanged()

This commit is contained in:
Eric Anderson 2022-02-09 08:37:54 -08:00
parent 39c8f4e584
commit 7a35e3bbde
1 changed files with 4 additions and 2 deletions

View File

@ -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();
}
}
}