Merge "Run abandon() in the system server context"
This commit is contained in:
committed by
Android (Google) Code Review
commit
dc8bed019a
@@ -3996,7 +3996,14 @@ public class PackageInstallerSession extends IPackageInstallerSession.Stub {
|
||||
return;
|
||||
}
|
||||
}
|
||||
r.run();
|
||||
|
||||
final long token = Binder.clearCallingIdentity();
|
||||
try {
|
||||
// This will call into StagingManager which might trigger external callbacks
|
||||
r.run();
|
||||
} finally {
|
||||
Binder.restoreCallingIdentity(token);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user