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

Commit ab37fe81 authored by Manish Kumar's avatar Manish Kumar Committed by Ricardo Cerqueira
Browse files

PackageManager: avoid use originFile which is removed in InstallArgs

The originFile in InstallArgs structure has been removed. To use
"file" in OriginInfo instead.

Change-Id: I2674c9c191aabb56da016ffa49de9db032533f40
parent 5fdb7e8c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10365,7 +10365,7 @@ public class PackageManagerService extends IPackageManager.Stub {
        if (DEBUG_INSTALL) Slog.d(TAG, "installPackageLI: path=" + tmpPackageFile);
        if (true != mSecurityBridge.approveAppInstallRequest(
                        args.getResourcePath(),
                        Uri.fromFile(args.originFile).toSafeString())) {
                        Uri.fromFile(args.origin.file).toSafeString())) {
            res.returnCode = PackageManager.INSTALL_FAILED_VERIFICATION_FAILURE;
            return;
        }