예제 #1
0
 public boolean isBusyboxInstalled(boolean force) {
   if (hasBusybox == null || force)
     hasBusybox = (AdbUtility.getBusyboxVersion(getBusyBoxInstallPath()).length() > 0);
   return hasBusybox.booleanValue();
 }
예제 #2
0
 public String getInstalledBusyboxVersion(boolean force) {
   if (Devices.getCurrent().isBusyboxInstalled(force)) {
     return AdbUtility.getBusyboxVersion(getBusyBoxInstallPath());
   } else hasBusybox = false;
   return "N/A";
 }