Skip to content

Commit dba5f97

Browse files
committed
see 12/18 log
1 parent 7e3d189 commit dba5f97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utilcode/src/main/java/com/blankj/utilcode/util/DeviceUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ private DeviceUtils() {
3535
*/
3636
public static boolean isDeviceRooted() {
3737
String su = "su";
38-
String[] locations = {"/system/bin/", "/system/xbin/", "/sbin/", "/system/sd/xbin/", "/system/bin/failsafe/",
39-
"/data/local/xbin/", "/data/local/bin/", "/data/local/"};
38+
String[] locations = {"/system/bin/", "/system/xbin/", "/sbin/", "/system/sd/xbin/",
39+
"/system/bin/failsafe/", "/data/local/xbin/", "/data/local/bin/", "/data/local/"};
4040
for (String location : locations) {
4141
if (new File(location + su).exists()) {
4242
return true;

0 commit comments

Comments
 (0)