From c03833c5949e7e661665a2d0d98b113a66cae9c1 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 8 Sep 2019 18:39:43 +0200 Subject: [PATCH] Close backdoor --- app/src/main/java/eu/faircode/netguard/ActivityLog.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/eu/faircode/netguard/ActivityLog.java b/app/src/main/java/eu/faircode/netguard/ActivityLog.java index 8d27e773..ecaeb791 100644 --- a/app/src/main/java/eu/faircode/netguard/ActivityLog.java +++ b/app/src/main/java/eu/faircode/netguard/ActivityLog.java @@ -88,6 +88,11 @@ public class ActivityLog extends AppCompatActivity implements SharedPreferences. @Override protected void onCreate(Bundle savedInstanceState) { + if (!IAB.isPurchased(ActivityPro.SKU_LOG, this)) { + startActivity(new Intent(this, ActivityPro.class)); + finish(); + } + Util.setTheme(this); super.onCreate(savedInstanceState); setContentView(R.layout.logging);