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,8 +57,10 @@ public class AppUpdateStatusService extends IntentService {
} }
} }
AppUpdateStatusManager.getInstance(this).addApks(apksReadyToInstall, AppUpdateStatusManager.Status.ReadyToInstall); if (apksReadyToInstall.size() > 0) {
InstallManagerService.managePreviouslyDownloadedApks(this); AppUpdateStatusManager.getInstance(this).addApks(apksReadyToInstall, AppUpdateStatusManager.Status.ReadyToInstall);
InstallManagerService.managePreviouslyDownloadedApks(this);
}
} }
@Nullable @Nullable