From 98b0ee7a3a6f9e0ad7c6f01b95f79594ff1ff566 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 10 Nov 2015 15:05:47 +0100 Subject: [PATCH] Cleanup Refs #92 --- app/src/main/java/eu/faircode/netguard/ActivityMain.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/main/java/eu/faircode/netguard/ActivityMain.java b/app/src/main/java/eu/faircode/netguard/ActivityMain.java index af4dd4c9..64bd1d08 100644 --- a/app/src/main/java/eu/faircode/netguard/ActivityMain.java +++ b/app/src/main/java/eu/faircode/netguard/ActivityMain.java @@ -355,11 +355,8 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences } else if (requestCode == REQUEST_KEYGUARD) { // Handle confirm credentials - unlocked = (resultCode == RESULT_OK); - if (unlocked) + if (unlocked = (resultCode == RESULT_OK)) recreate(); - //else - // finish(); } else { Log.w(TAG, "Unknown activity result request=" + requestCode);