From 134f9c014e08e07eab65ff80b00f9ff5d1f36957 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 9 Mar 2020 09:55:05 -0600 Subject: [PATCH] ObservableTunnel: pass right argument to state transition Signed-off-by: Jason A. Donenfeld --- .../main/java/com/wireguard/android/model/ObservableTunnel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.java b/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.java index ce3197f2..edd8bd68 100644 --- a/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.java +++ b/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.java @@ -112,7 +112,7 @@ public class ObservableTunnel extends BaseObservable implements Keyed, T @Override public void onStateChange(final State newState) { - onStateChanged(state); + onStateChanged(newState); } @Nullable