From 8ed9634adf36227258a8886f669bb1b6327a2d54 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Wed, 22 Feb 2017 04:13:21 +0800 Subject: [PATCH] Fix Samsung crash --- app/src/main/java/com/topjohnwu/magisk/components/Activity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/topjohnwu/magisk/components/Activity.java b/app/src/main/java/com/topjohnwu/magisk/components/Activity.java index 3dcfab11b..87bcd6b0e 100644 --- a/app/src/main/java/com/topjohnwu/magisk/components/Activity.java +++ b/app/src/main/java/com/topjohnwu/magisk/components/Activity.java @@ -8,6 +8,6 @@ public class Activity extends AppCompatActivity { @Override public MagiskManager getApplicationContext() { - return (MagiskManager) getApplication(); + return (MagiskManager) super.getApplicationContext(); } }