From f190db075411fa12443d4cb2a1e93a8f2613854b Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 7 Jun 2018 04:37:28 +0200 Subject: [PATCH] BootShutdownReceiver: style Signed-off-by: Jason A. Donenfeld --- .../main/java/com/wireguard/android/BootShutdownReceiver.java | 3 +-- 1 file changed, 1 insertion(+), 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;