Loading app/src/main/java/foundation/e/apps/manager/download/DownloadManagerBR.kt +1 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ class DownloadManagerBR : BroadcastReceiver() { val action = intent?.action if (context != null && action != null) { val id = intent.getLongExtra(DownloadManager.EXTRA_DOWNLOAD_ID, 0) Timber.d("onReceive: DownloadBR $action $id") Timber.i("onReceive: DownloadBR $action $id") when (action) { DownloadManager.ACTION_DOWNLOAD_COMPLETE -> { downloadedList.add(id) Loading app/src/main/java/foundation/e/apps/manager/fused/FusedManagerImpl.kt +3 −3 Original line number Diff line number Diff line Loading @@ -127,11 +127,11 @@ class FusedManagerImpl @Inject constructor( if (list.size != 0) { try { Timber.d("installApp: STARTED ${fusedDownload.name} ${list.size}") Timber.i("installApp: STARTED ${fusedDownload.name} ${list.size}") pkgManagerModule.installApplication(list, fusedDownload.packageName) Timber.d("installApp: ENDED ${fusedDownload.name} ${list.size}") Timber.i("installApp: ENDED ${fusedDownload.name} ${list.size}") } catch (e: Exception) { Timber.d(">>> installApp app failed ") Timber.i(">>> installApp app failed ") installationIssue(fusedDownload) throw e } Loading app/src/main/java/foundation/e/apps/manager/workmanager/InstallAppWorker.kt +5 −5 Original line number Diff line number Diff line Loading @@ -98,7 +98,7 @@ class InstallAppWorker @AssistedInject constructor( Timber.d("Fused download name $fusedDownloadString") fusedDownload = databaseRepository.getDownloadById(fusedDownloadString) Timber.d(">>> dowork started for Fused download name " + fusedDownload?.name + " " + fusedDownloadString) Timber.i(">>> dowork started for Fused download name " + fusedDownload?.name + " " + fusedDownloadString) fusedDownload?.let { isItUpdateWork = params.inputData.getBoolean(IS_UPDATE_WORK, false) && packageManagerModule.isInstalled(it.packageName) Loading Loading @@ -126,7 +126,7 @@ class InstallAppWorker @AssistedInject constructor( fusedManagerRepository.installationIssue(it) } } finally { Timber.d("doWork: RESULT SUCCESS: ${fusedDownload?.name}") Timber.i("doWork: RESULT SUCCESS: ${fusedDownload?.name}") return Result.success() } } Loading Loading @@ -187,7 +187,7 @@ class InstallAppWorker @AssistedInject constructor( fusedDownload: FusedDownload ) { fusedManagerRepository.downloadApp(fusedDownload) Timber.d("===> doWork: Download started ${fusedDownload.name} ${fusedDownload.status}") Timber.i("===> doWork: Download started ${fusedDownload.name} ${fusedDownload.status}") isDownloading = true tickerFlow(3.seconds) .onEach { Loading Loading @@ -254,11 +254,11 @@ class InstallAppWorker @AssistedInject constructor( fusedManagerRepository.updateDownloadStatus(fusedDownload, Status.INSTALLING) } Status.INSTALLING -> { Timber.d("===> doWork: Installing ${fusedDownload.name} ${fusedDownload.status}") Timber.i("===> doWork: Installing ${fusedDownload.name} ${fusedDownload.status}") } Status.INSTALLED, Status.INSTALLATION_ISSUE -> { finishInstallation(fusedDownload) Timber.d("===> doWork: Installed/Failed: ${fusedDownload.name} ${fusedDownload.status}") Timber.i("===> doWork: Installed/Failed: ${fusedDownload.name} ${fusedDownload.status}") } else -> { finishInstallation(fusedDownload) Loading app/src/main/java/foundation/e/apps/updates/manager/UpdatesWorker.kt +2 −1 Original line number Diff line number Diff line Loading @@ -67,6 +67,7 @@ class UpdatesWorker @AssistedInject constructor( checkForUpdates() Result.success() } catch (e: Throwable) { Timber.e(e) Result.failure() } finally { if (shouldShowNotification && automaticInstallEnabled) { Loading Loading @@ -237,7 +238,7 @@ class UpdatesWorker @AssistedInject constructor( fusedManagerRepository.updateAwaiting(fusedDownload) Timber.d("startUpdateProcess: Enqueued for update: ${fusedDownload.name} ${fusedDownload.id} ${fusedDownload.status}") InstallWorkManager.enqueueWork(fusedDownload, true) Timber.d(">>> startUpdateProcess: " + fusedDownload.name) Timber.i("startUpdateProcess: " + fusedDownload.name) } } Loading Loading
app/src/main/java/foundation/e/apps/manager/download/DownloadManagerBR.kt +1 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ class DownloadManagerBR : BroadcastReceiver() { val action = intent?.action if (context != null && action != null) { val id = intent.getLongExtra(DownloadManager.EXTRA_DOWNLOAD_ID, 0) Timber.d("onReceive: DownloadBR $action $id") Timber.i("onReceive: DownloadBR $action $id") when (action) { DownloadManager.ACTION_DOWNLOAD_COMPLETE -> { downloadedList.add(id) Loading
app/src/main/java/foundation/e/apps/manager/fused/FusedManagerImpl.kt +3 −3 Original line number Diff line number Diff line Loading @@ -127,11 +127,11 @@ class FusedManagerImpl @Inject constructor( if (list.size != 0) { try { Timber.d("installApp: STARTED ${fusedDownload.name} ${list.size}") Timber.i("installApp: STARTED ${fusedDownload.name} ${list.size}") pkgManagerModule.installApplication(list, fusedDownload.packageName) Timber.d("installApp: ENDED ${fusedDownload.name} ${list.size}") Timber.i("installApp: ENDED ${fusedDownload.name} ${list.size}") } catch (e: Exception) { Timber.d(">>> installApp app failed ") Timber.i(">>> installApp app failed ") installationIssue(fusedDownload) throw e } Loading
app/src/main/java/foundation/e/apps/manager/workmanager/InstallAppWorker.kt +5 −5 Original line number Diff line number Diff line Loading @@ -98,7 +98,7 @@ class InstallAppWorker @AssistedInject constructor( Timber.d("Fused download name $fusedDownloadString") fusedDownload = databaseRepository.getDownloadById(fusedDownloadString) Timber.d(">>> dowork started for Fused download name " + fusedDownload?.name + " " + fusedDownloadString) Timber.i(">>> dowork started for Fused download name " + fusedDownload?.name + " " + fusedDownloadString) fusedDownload?.let { isItUpdateWork = params.inputData.getBoolean(IS_UPDATE_WORK, false) && packageManagerModule.isInstalled(it.packageName) Loading Loading @@ -126,7 +126,7 @@ class InstallAppWorker @AssistedInject constructor( fusedManagerRepository.installationIssue(it) } } finally { Timber.d("doWork: RESULT SUCCESS: ${fusedDownload?.name}") Timber.i("doWork: RESULT SUCCESS: ${fusedDownload?.name}") return Result.success() } } Loading Loading @@ -187,7 +187,7 @@ class InstallAppWorker @AssistedInject constructor( fusedDownload: FusedDownload ) { fusedManagerRepository.downloadApp(fusedDownload) Timber.d("===> doWork: Download started ${fusedDownload.name} ${fusedDownload.status}") Timber.i("===> doWork: Download started ${fusedDownload.name} ${fusedDownload.status}") isDownloading = true tickerFlow(3.seconds) .onEach { Loading Loading @@ -254,11 +254,11 @@ class InstallAppWorker @AssistedInject constructor( fusedManagerRepository.updateDownloadStatus(fusedDownload, Status.INSTALLING) } Status.INSTALLING -> { Timber.d("===> doWork: Installing ${fusedDownload.name} ${fusedDownload.status}") Timber.i("===> doWork: Installing ${fusedDownload.name} ${fusedDownload.status}") } Status.INSTALLED, Status.INSTALLATION_ISSUE -> { finishInstallation(fusedDownload) Timber.d("===> doWork: Installed/Failed: ${fusedDownload.name} ${fusedDownload.status}") Timber.i("===> doWork: Installed/Failed: ${fusedDownload.name} ${fusedDownload.status}") } else -> { finishInstallation(fusedDownload) Loading
app/src/main/java/foundation/e/apps/updates/manager/UpdatesWorker.kt +2 −1 Original line number Diff line number Diff line Loading @@ -67,6 +67,7 @@ class UpdatesWorker @AssistedInject constructor( checkForUpdates() Result.success() } catch (e: Throwable) { Timber.e(e) Result.failure() } finally { if (shouldShowNotification && automaticInstallEnabled) { Loading Loading @@ -237,7 +238,7 @@ class UpdatesWorker @AssistedInject constructor( fusedManagerRepository.updateAwaiting(fusedDownload) Timber.d("startUpdateProcess: Enqueued for update: ${fusedDownload.name} ${fusedDownload.id} ${fusedDownload.status}") InstallWorkManager.enqueueWork(fusedDownload, true) Timber.d(">>> startUpdateProcess: " + fusedDownload.name) Timber.i("startUpdateProcess: " + fusedDownload.name) } } Loading