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

Commit c736c748 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Merge branch '1727-t-fix-coroutine' into 'main'

Fix coroutine behavior

See merge request !423
parents 043e1f0c 1751a2a4
Loading
Loading
Loading
Loading
Loading
+5 −9
Original line number Diff line number Diff line
@@ -71,15 +71,11 @@ class SplitInstallBinder(
        try {
            coroutineScope.launch {
                authenticatorRepository.getValidatedAuthData()
            }

                if (authenticatorRepository.gplayAuth == null) {
                    Timber.w(AUTH_DATA_ERROR_MESSAGE)
                    handleError(packageName)
                return
                    return@launch
                }

            coroutineScope.launch {
                downloadModule(packageName, moduleName)
            }
        } catch (exception: GPlayLoginException) {