diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-07 04:37:28 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-07 04:37:28 +0200 |
commit | f190db075411fa12443d4cb2a1e93a8f2613854b (patch) | |
tree | f66072e2bc8032844d4ab5dc8eeb412d086e102e /app/src/main/java/com/wireguard/android | |
parent | 8d27570eeaddf1cac311c3833df584eb253b2723 (diff) |
BootShutdownReceiver: style
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/java/com/wireguard/android')
-rw-r--r-- | app/src/main/java/com/wireguard/android/BootShutdownReceiver.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/java/com/wireguard/android/BootShutdownReceiver.java b/app/src/main/java/com/wireguard/android/BootShutdownReceiver.java index 3c2bb85c..f3ed3f08 100644 --- a/app/src/main/java/com/wireguard/android/BootShutdownReceiver.java +++ b/app/src/main/java/com/wireguard/android/BootShutdownReceiver.java @@ -20,9 +20,8 @@ public class BootShutdownReceiver extends BroadcastReceiver { @Override public void onReceive(final Context context, final Intent intent) { - if (Application.getBackendType() != WgQuickBackend.class) { + if (Application.getBackendType() != WgQuickBackend.class) return; - } final String action = intent.getAction(); if (action == null) return; |