Allow checking to see if update is downloaded and ready for install

This commit is contained in:
Saeid Nourian
2016-10-11 15:47:23 -04:00
parent 176cb8ca99
commit d7ec0f05e9
@@ -795,6 +795,10 @@ public abstract class Getdown extends Thread
}
}
public static boolean isUpdateAvailable() {
return readyToInstall && !toBeInstalledResouces.isEmpty();
}
/**
* Called to launch the application if everything is determined to be ready to go.
*/