summaryrefslogtreecommitdiffstats
path: root/src/com/android/packageinstaller/PackageUtil.java
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup of the PackageInstaller API - PackageInstallerSvet Ganov2016-04-211-14/+1
| | | | | | | | | The PackageInstaller app manages side-loading apps as well as permission management. It should be updatable, hence should rely on system APIs to talk to the platform. This is the first step of defining an API boundary. Change-Id: I37aea1e5cc3195b8b636af6790af45fe5a9765cd
* No need to pass digest of AndroidManifest.xml around.Alex Klyubin2016-01-041-3/+1
| | | | | | | | | PackageInstaller app is using the new Package Installer API (android.content.pm.PackageInstaller) which removes the need to pass the digest of AndroidManifest.xml around. Bug: 24542768 Change-Id: I477b8f955b3af11bdd3cb88a9d8187ccb6449000
* Use correct API for badgingAmith Yamasani2014-09-071-1/+1
| | | | | Bug: 17414778 Change-Id: If7c67b9983923c8c02287c3325d1d8d23127adc7
* Update AppInstaller due to API changes.Svetoslav2014-09-041-6/+1
| | | | | | bug:17390424 Change-Id: I4fc49f7bab04547e47c3c0d0fe5052de6478ef7b
* Support uninstalling apps for other profiles.Kenny Guy2014-07-101-1/+26
| | | | | | | | | | | | | | Allow client to pick which user the package will be removed for, checking its a profile of the current user. Inform user if package is blocked from being removed and let them knows its due to an admin. Add check to stop non owner asking to uninstall for all users. Bug: 14127299 Change-Id: I60504224f5271272a390320a0fa62aa7f5de4e54
* Follow more PackageParser refactoring.Jeff Sharkey2014-06-181-13/+5
| | | | Change-Id: I98f44668bd0a211b57e8311ead4b4ce01a04de90
* Follow API refactoring.Jeff Sharkey2014-06-151-16/+16
| | | | | | Now using exceptions for better control flow. Change-Id: I4432721729f6b1878971c99f5eaaa033194cd8ba
* Use direct call to get ManifestDigestKenny Root2013-04-021-1/+1
| | | | | | | | This speeds up startup of PackageInstaller since it doesn't have to read all the data. Bug: 8528639 Change-Id: Ic7b9dc93f0f940a128b583936b3f56c707b5cb2c
* PackageUtil: don't collect certs if package doesn't existNick Kralevich2013-03-191-3/+6
| | | | | | | | | | | If packageParser.parsePackage() returns null, don't attempt call packageParser.collectCertificates(). This fixes a NPE triggered by the following command: am start -a android.intent.action.VIEW -d file:///blah/blah.apk -t application/vnd.android.package-archive Change-Id: I6f6f836734d4b4ee07e98ee6b1f6339fa675b8b0
* Add manifest to verification paramsKenny Root2013-03-141-0/+1
| | | | Change-Id: I088ab981cb56d4f156b6ff910d6a2270e3302dc4
* Stop advertising content://-style Uri support.Jeff Sharkey2012-04-161-20/+20
| | | | | | | | | Internally using PackageParser, which needs raw files. Tried making local copy of incoming files, but ran into 6347522. Instead, stop advertising support for content://-style Uris. Bug: 6343461 Change-Id: Ia57ffa56876f38db359e618d9a2c1116c71f56f2
* Check for activity info when uninstalling.Patrick Dubroy2010-09-031-21/+19
| | | | Also, switch to using standard fat title bar.
* Remove memory checks in side loading uiSuchi Amalapurapu2010-03-111-19/+38
| | | | | | Move dialog for insufficient storage as a post-install error handle dialog Change-Id: I419b1dc233e01fc91e29d1274bae17d5bd63a60d
* Nuke parser references.Suchi Amalapurapu2010-02-191-1/+5
| | | | Modify free storage logic.
* Fix for 2268060, 2251223 if conditional initializing package label.Suchi Amalapurapu2009-11-181-7/+5
| | | | | | Also load the label from the new pkg for existing packages Use installer's metrics and configuration info when creating resources for new package
* Use nonlocalized label when installing packages.Suchi Amalapurapu2009-11-111-6/+16
| | | | | Also invoke the right method based on if its an installed application or not. just move the if condition prior to initializing the view
* change utility methods used to load label and icon of packagesSuchi Amalapurapu2009-06-101-25/+61
| | | | | | load label and icon for yet to be installed app from assets and resources created from the apk. define new method for initing app snippet for uninstall related code rename changed utility methods in install and uninstall code paths
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+121
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-146/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-031-0/+25
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-021-25/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-10/+6
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+150