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