Skip to content

Commit

Permalink
Merge pull request #12 from rattlehead666/master
Browse files Browse the repository at this point in the history
added support for android 6
  • Loading branch information
Stericson committed Mar 18, 2016
2 parents d708ae1 + ced588e commit c69dc82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/stericson/RootShell/RootShell.java
Original file line number Diff line number Diff line change
Expand Up @@ -390,11 +390,11 @@ public void commandOutput(int id, String line) {
}

/**
* @return <code>true</code> if BusyBox was found.
* @return <code>true</code> if BusyBox or Toybox was found.
*/
public static boolean isBusyboxAvailable()
{
return (findBinary("busybox")).size() > 0;
return (findBinary("busybox")).size() > 0 || (findBinary("toybox")).size() > 0;
}

/**
Expand Down

0 comments on commit c69dc82

Please sign in to comment.