global: java access control has important semantic meaning
It's not right to blindly follow all of AndroidStudio's suggestions, especially for things in tunnel/ which comprise useful API. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
@@ -161,7 +161,7 @@ public final class TunnelManager extends BaseObservable {
|
||||
completableTunnels.complete(tunnels);
|
||||
}
|
||||
|
||||
private void refreshTunnelStates() {
|
||||
public void refreshTunnelStates() {
|
||||
Application.getAsyncWorker().supplyAsync(() -> Application.getBackend().getRunningTunnelNames())
|
||||
.thenAccept(running -> {
|
||||
for (final ObservableTunnel tunnel : tunnels)
|
||||
|
||||
Reference in New Issue
Block a user