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