Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9785310 authored by Hasib Prince's avatar Hasib Prince
Browse files

Merge branch '5922-update_all' of gitlab.e.foundation:e/os/apps into 5922-update_all

parents 9e5f441f d7f17b53
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
/*
 *  Copyright (C) 2022  ECORP
 *  Copyright (C) 2022 MURENA SAS
 *
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
+115 −114
Original line number Diff line number Diff line
@@ -63,6 +63,7 @@ class DownloadManagerUtils @Inject constructor(
                    val numberOfDownloadedItems =
                        fusedDownload.downloadIdMap.values.filter { it }.size
                    Timber.d("===> updateDownloadStatus: ${fusedDownload.name}: $downloadId: $numberOfDownloadedItems/${fusedDownload.downloadIdMap.size}")

                    if (validateDownload(numberOfDownloadedItems, fusedDownload, downloadId)) {
                        Timber.d("===> Download is completed for: ${fusedDownload.name}")
                        fusedManagerRepository.moveOBBFileToOBBDirectory(fusedDownload)