public synchronized InstallResult installPackage(String path, int flags, boolean notify) { long installTime = System.currentTimeMillis(); if (path == null) { return InstallResult.makeFailure("path = NULL"); return InstallResult.makeFailure("Package File is not exist."); return InstallResult.makeFailure("Unable to parse the package."); return InstallResult.makeFailure("Can not update the package (such as version downrange)."); return InstallResult.makeFailure("Unable to create lib dir."); } catch (IOException e) { privatePackageFile.delete(); return InstallResult.makeFailure("Unable to copy the package file.");
public synchronized InstallResult installPackage(String path, int flags, boolean notify) { long installTime = System.currentTimeMillis(); if (path == null) { return InstallResult.makeFailure("path = NULL"); return InstallResult.makeFailure("Package File is not exist."); return InstallResult.makeFailure("Unable to parse the package."); return InstallResult.makeFailure("Not allowed to update the package."); return InstallResult.makeFailure("Unable to create lib dir."); } catch (IOException e) { privatePackageFile.delete(); return InstallResult.makeFailure("Unable to copy the package file.");
public synchronized InstallResult installPackage(String path, int flags, boolean notify) { long installTime = System.currentTimeMillis(); if (path == null) { return InstallResult.makeFailure("path = NULL"); return InstallResult.makeFailure("Package File is not exist."); return InstallResult.makeFailure("Unable to parse the package."); return InstallResult.makeFailure("Can not update the package (such as version downrange)."); return InstallResult.makeFailure("Unable to create lib dir."); } catch (IOException e) { privatePackageFile.delete(); return InstallResult.makeFailure("Unable to copy the package file.");