判断 APP 是否授权 Root 权限 @return true yes, false no
()
| 67 | * @return {@code true} yes, {@code false} no |
| 68 | */ |
| 69 | public static boolean isGrantedRoot() { |
| 70 | return ShellUtils.execCmd("exit", true).isSuccessWithoutErrorOutput(); |
| 71 | } |
| 72 | |
| 73 | // ========== |
| 74 | // = 应用管理 = |
nothing calls this directly
no test coverage detected