Only and if there are any there.

This commit is contained in:
Peter Serwylo 2017-04-28 09:12:53 +10:00
parent 25edfffcbe
commit 69816b5b82

View File

@ -57,9 +57,11 @@ public class AppUpdateStatusService extends IntentService {
} }
} }
if (apksReadyToInstall.size() > 0) {
AppUpdateStatusManager.getInstance(this).addApks(apksReadyToInstall, AppUpdateStatusManager.Status.ReadyToInstall); AppUpdateStatusManager.getInstance(this).addApks(apksReadyToInstall, AppUpdateStatusManager.Status.ReadyToInstall);
InstallManagerService.managePreviouslyDownloadedApks(this); InstallManagerService.managePreviouslyDownloadedApks(this);
} }
}
@Nullable @Nullable
private Apk processDownloadedApk(File apkPath) { private Apk processDownloadedApk(File apkPath) {