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

Commit 06e2374d authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Merge branch '549os-fix-return-issue' into 'main'

Add missing return instruction in case of error

See merge request !2
parents 2bc05c9b 923c5ffc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@ class SplitInstallBroadcastReceiver : BroadcastReceiver() {
        if (extras.get(PM_INSTALL_EXTRA_STATUS_KEY) != MODULE_INSTALLED_SUCCESS_STATUS) {
            val statusMessage = extras.get(PM_INSTALL_EXTRA_STATUS_MESSAGE_KEY)
            Log.e(TAG, "Could not install a split apk: $statusMessage")
            return
        }

        val updatedPackage = extras.get(PM_INSTALL_EXTRA_PACKAGE_NAME_KEY)