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

Commit bfbf4eda authored by Dario Freni's avatar Dario Freni
Browse files

Rename APEX installPackage method to stagePackage.

Test: adb install apex.test.apex  (succeeds)
Bug: 112669193
Change-Id: I8dc23d9d621d6a9fd5ee983eb6edbbe5ed13ad9a
parent ae40d836
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -943,7 +943,7 @@ public class PackageInstallerSession extends IPackageInstallerSession.Stub {
        try {
            IApexService apex = IApexService.Stub.asInterface(
                    ServiceManager.getService("apexservice"));
            apex.installPackage(mResolvedBaseFile.toString());
            apex.stagePackage(mResolvedBaseFile.toString());
        } catch (Throwable e) {
            // Convert all exceptions into package manager exceptions as only those are handled
            // in the code above