diff --git a/wrappers/android/mynteye/app/src/main/java/com/slightech/mynteye/demo/ui/MainActivity.java b/wrappers/android/mynteye/app/src/main/java/com/slightech/mynteye/demo/ui/MainActivity.java index 23abf24..2eec261 100644 --- a/wrappers/android/mynteye/app/src/main/java/com/slightech/mynteye/demo/ui/MainActivity.java +++ b/wrappers/android/mynteye/app/src/main/java/com/slightech/mynteye/demo/ui/MainActivity.java @@ -49,6 +49,7 @@ public class MainActivity extends BaseActivity { private void actionOpen(final Runnable completeEvent) { if (!RootUtils.isRooted()) { + if (completeEvent != null) completeEvent.run(); alert("Warning", "Root denied :("); return; }