fix(android): fix call complete event
This commit is contained in:
parent
d531112075
commit
d673a151c9
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user