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

Commit 4f4780f0 authored by Fyodor Kupolov's avatar Fyodor Kupolov
Browse files

Count failed install as finished

Otherwise DEMO_USER_SETUP_COMPLETE will not be set.

Bug: 30445353
Change-Id: Id2a0c1b1643dd9846328a20f4c67e11e69b3bc84
parent 375ac040
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -136,6 +136,10 @@ class PreloadAppsInstaller {
                        mApkToPackageMap.put(apkName, basePackageName);
                    }
                    installExistingPackage(basePackageName, userId, counter);
                } else {
                    Log.e(TAG, "Package " + basePackageName + " cannot be installed from "
                            + apkName + ": " + msg + " (returnCode " + returnCode + ")");
                    counter.appInstallFinished();
                }
            }
        }.getBinder(), 0, SYSTEM_SERVER_PACKAGE_NAME, userId);