提交 0c5a6149 编写于 作者: B Blankj

see 05/07 log

上级 50c9e903
......@@ -108,11 +108,7 @@ public final class AppUtils {
*/
public static boolean isAppRoot() {
ShellUtils.CommandResult result = UtilsBridge.execCmd("echo root", true);
if (result.result == 0) return true;
if (result.errorMsg != null) {
Log.d("AppUtils", "isAppRoot() called" + result.errorMsg);
}
return false;
return result.result == 0;
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册