use of android.content.pm.IPackageInstallerSession in project android_frameworks_base by crdroidandroid.
the class PackageInstallerService method openSessionInternal.
private IPackageInstallerSession openSessionInternal(int sessionId) throws IOException {
synchronized (mSessions) {
final PackageInstallerSession session = mSessions.get(sessionId);
if (session == null || !isCallingUidOwner(session)) {
throw new SecurityException("Caller has no access to session " + sessionId);
}
session.open();
return session;
}
}
Aggregations