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

Commit 4132fd16 authored by Sayantan Roychowdhury's avatar Sayantan Roychowdhury
Browse files

issue_5413 [WIP]: accommodate for ResultSupreme in UpdatesWorker

parent 3c9073c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ class UpdatesWorker @AssistedInject constructor(
        loadSettings()
        val authData = getAuthData()
        val appsNeededToUpdate = updatesManagerRepository.getUpdates(authData)
            .first.filter { !(!it.isFree && authData.isAnonymous) }
            .data?.filter { !(!it.isFree && authData.isAnonymous) } ?: listOf()
        val isConnectedToUnmeteredNetwork = isConnectedToUnmeteredNetwork(applicationContext)
        /*
         * Show notification only if enabled.