From 76fe5d9c2cbd4e442df583c83c733064cc396c50 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 5 May 2019 16:48:31 +0200 Subject: [PATCH] People do not read anyway --- app/src/main/java/eu/faircode/netguard/ServiceSinkhole.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/netguard/ServiceSinkhole.java b/app/src/main/java/eu/faircode/netguard/ServiceSinkhole.java index 648dd8c3..37a8e563 100644 --- a/app/src/main/java/eu/faircode/netguard/ServiceSinkhole.java +++ b/app/src/main/java/eu/faircode/netguard/ServiceSinkhole.java @@ -464,8 +464,8 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS if (cmd == Command.start || cmd == Command.reload) { if (VpnService.prepare(ServiceSinkhole.this) == null) { - Log.w(TAG, "VPN not prepared connected=" + last_connected); - if (last_connected) { + Log.w(TAG, "VPN prepared connected=" + last_connected); + if (last_connected && !(ex instanceof StartFailedException)) { showAutoStartNotification(); if (!Util.isPlayStoreInstall(ServiceSinkhole.this)) showErrorNotification(ex.toString());