aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-06-07 04:37:28 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-07 04:37:28 +0200
commitd23e4dbfa310733504e8277bb8389488464fe382 (patch)
treef66072e2bc8032844d4ab5dc8eeb412d086e102e
parentBackend: abstract version information (diff)
downloadwireguard-android-d23e4dbfa310733504e8277bb8389488464fe382.tar.xz
wireguard-android-d23e4dbfa310733504e8277bb8389488464fe382.zip
BootShutdownReceiver: style
-rw-r--r--app/src/main/java/com/wireguard/android/BootShutdownReceiver.java3
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 3c2bb85..f3ed3f0 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;