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

Commit dc8bed01 authored by Chun-Wei Wang's avatar Chun-Wei Wang Committed by Android (Google) Code Review
Browse files

Merge "Run abandon() in the system server context"

parents f8adf54f c9c0026c
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -3996,7 +3996,14 @@ public class PackageInstallerSession extends IPackageInstallerSession.Stub {
                return;
            }
        }

        final long token = Binder.clearCallingIdentity();
        try {
            // This will call into StagingManager which might trigger external callbacks
            r.run();
        } finally {
            Binder.restoreCallingIdentity(token);
        }
    }

    @Override