summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Allow side-loading of apps from other users.Dianne Hackborn2012-09-192-20/+68
| | | | | | | | This will allow applications to do the desired bypass of downloading and re-installing an app if it is already installed on the device for another user. Change-Id: Ib2bc0f39bc6b495af653560cf13cb8477413186d
* Implement new option for uninstalling over all users.Dianne Hackborn2012-09-162-2/+13
| | | | | | | | This API is hidden, but we don't try to protect with a permission here because we always go through a UI for the user to verify the operation. Change-Id: I5580bcbe7ca00b8613c0d8523f348ce83b2d5031
* Further adjustment of the new package installer UI.Dianne Hackborn2012-09-162-60/+163
| | | | | | | | | | | | | | - Privacy and Device permissions are not shown as separate tabs, but instead separate sections in the same single scrollable permissions list. - No tabs are shown when installing a new app (they are all in the new single list); two tabs are shown when installing an update: the new permissions, and all permissions. - If you are reviewing more permissions than fit on the screen, the "install" button is changed to a "next" button until you scroll through the entire list. Change-Id: I0665a797f80ba5276e782e94be97090a429e5280
* New permissions UI.Dianne Hackborn2012-09-121-44/+183
|
* am 47fe118e: Merge "Show a Toast on a successful application uninstall"Dianne Hackborn2012-08-211-1/+7
|\ | | | | | | | | * commit '47fe118e0178e9d72c98073ff588ee5cf353258e': Show a Toast on a successful application uninstall
| * Show a Toast on a successful application uninstallScott Warner2012-08-211-1/+7
| | | | | | | | | | | | | | | | Instead of waiting for the user to tap OK, just show a Toast and get out of the way. Does not change anything for unsuccessful uninstall attempts Change-Id: I32c2097405b4c4f514224b7561b83175a1c882fb
* | Accept and pass URLs to PackageManagerServicerich cannings2012-08-202-1/+18
| | | | | | | | | | | | | | | | This change passes the originating URI and referrer of an apk, when available, to the package manager. Bug: 6544677 Change-Id: I1431b0e02eb779d9699e282ae59aaab485a00626
* | Revert "Accept and pass URLs to PackageManagerService"Rich Cannings2012-08-082-17/+2
| | | | | | | | | | | | This reverts commit 076ca8c8373a3d5f3f56103fa85966cc6c34c94a Change-Id: I955510c4aa9f7fada2685ca274d0bb8fbdd91cdf
* | Accept and pass URLs to PackageManagerServicerich cannings2012-08-022-2/+17
|/ | | | | | | | This change passes the originating URI and referrer of an apk, when available, to the package manager. Bug: 6544677 Change-Id: I6b1036012399f6cd42feceedeca2493b6b20501a
* Survey says: NIET!Dianne Hackborn2012-06-011-183/+44
| | | | | | Bug: 6593206 Change-Id: Ib8ec410e9af258b507706f2a162e8e7482f93f6a
* Merge "Reduce strict Uri checking, again." into jb-devJeff Sharkey2012-05-241-1/+1
|\
| * Reduce strict Uri checking, again.Jeff Sharkey2012-05-241-1/+1
| | | | | | | | | | Bug: 6539616 Change-Id: I5740b680520606d880646bd419423c08bdc81a99
* | Merge "Reduce strict Uri checking." into jb-devJeff Sharkey2012-05-231-1/+1
|\|
| * Reduce strict Uri checking.Jeff Sharkey2012-05-231-1/+1
| | | | | | | | | | Bug: 6539616 Change-Id: I60cbf1c49ffd565504504ef4b67fe5a512c086e4
* | Make permissions pages awaken their scrollbars when the page is focusedAdam Powell2012-05-221-3/+26
|/ | | | | | Bug 6538805 Change-Id: I8baec78443f7e623cfb49cda90a5a9a95e71090d
* Fix up tabs in the permissions displayAdam Powell2012-05-131-2/+8
| | | | | | | | | | Make tab bar scrollable if tabs don't all fit. Scroll the currently selected tab into view when it becomes selected. Bug 6481646 Change-Id: Ic492526ce06fae759b23127f74cfcb8e2fd8f030
* New permissions UI.Dianne Hackborn2012-05-031-44/+179
| | | | Change-Id: I5d4691f8a23e90265eaaaea15950affdcb8dc9b6
* Stop advertising content://-style Uri support.Jeff Sharkey2012-04-163-32/+48
| | | | | | | | | 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
* Implement new extended install/uninstall options.Dianne Hackborn2011-08-105-8/+146
| | | | Change-Id: I60374f937ca3ccf454480b196a7eb4e36d67fe86
* Changed unknown source setting linkGilles Debunne2011-06-241-7/+4
| | | | | | This settings has been moved to Security. Change-Id: Ie5b630d5d4e909a687d60ac941a407ee9588635a
* More descriptive errors for install failuresKenny Root2011-03-162-15/+73
| | | | Change-Id: Ica79bece0fd29c27126e1ee51daeac96affaa1ab
* Use new package deletion observerKenny Root2011-03-011-3/+3
| | | | Change-Id: Iabef1f9c6758e09c9e7f697da29cda7d532c625b
* Use NEW_TASK flag when going to SettingsKenny Root2011-02-151-0/+2
| | | | | | | | | | Users being directed into Settings because of some problem were getting the Settings activity on the PackageInstaller stack. This caused some confusion because going into PackageInstaller again put them into Settings which is wrong. Bug: 3456307 Change-Id: Idda1e02a619950dbc4db81c4962a3257f67094b2
* Check for activity info when uninstalling.Patrick Dubroy2010-09-035-40/+75
| | | | Also, switch to using standard fat title bar.
* Fix issue #2558391: Package manager problem when not replacing existing ↵Dianne Hackborn2010-03-301-1/+9
| | | | | | | | system partition app Make sure to set the replace flag if the app exists but has been renamed. Change-Id: I0849834b59eb2a98c94e763860f649770eeeef43
* Remove memory checks in side loading uiSuchi Amalapurapu2010-03-113-116/+97
| | | | | | Move dialog for insufficient storage as a post-install error handle dialog Change-Id: I419b1dc233e01fc91e29d1274bae17d5bd63a60d
* Check for resolvable activities before enabling launch button.Suchi Amalapurapu2010-03-111-0/+10
| | | | Change-Id: I6bbb6c079c53f09a3b92b4e2a50d17fbd4839a0e
* Nuke parser references.Suchi Amalapurapu2010-02-192-14/+37
| | | | Modify free storage logic.
* Remove recomended install app locationSuchi Amalapurapu2010-02-121-11/+0
|
* Change method signature for recommendAppInstallLocationSuchi Amalapurapu2010-02-101-2/+1
|
* Apps on SD card projec.Oscar Montemayor2010-01-291-2/+3
| | | | Folowing through with making recommendAPpInstallLocation(..) an instance method in PackageManager.
* Apps on SD card project.Oscar Montemayor2010-01-281-1/+10
| | | | | Modifying sideload app to recommend location where to install application package, based on application flags, total space and available space on internal and SD card storage. Currently ignoring "Do not install" recommendation.
* Remove copying temporary file into installer's private data directory.Suchi Amalapurapu2010-01-252-47/+1
| | | | The system process can now make a copy for itself.
* Fix for 2268060, 2251223 if conditional initializing package label.Suchi Amalapurapu2009-11-182-13/+7
| | | | | | Also load the label from the new pkg for existing packages Use installer's metrics and configuration info when creating resources for new package
* move creating temp file to InstallAppProgressSuchi Amalapurapu2009-11-122-58/+61
| | | | and deal with cleanly deleting the file
* Use nonlocalized label when installing packages.Suchi Amalapurapu2009-11-112-18/+32
| | | | | Also invoke the right method based on if its an installed application or not. just move the if condition prior to initializing the view
* The scroll view listing permissions is given a weight of 1 so that the ok ↵Suchi Amalapurapu2009-10-061-1/+1
| | | | | | and cancel buttons appear at the bottom of the screen. If the permission list doesn't fillup the screen aka has very few permissions, the buttons don't appear at the buttom. so just increate the layout weight of the parent as well to fix this issue. Also hide the whole permissions panel so that we don't see the text related to showing permissions at all
* Clear installer's user data before downloading an app so that we get rid of ↵Suchi Amalapurapu2009-09-291-0/+2
| | | | | | | any lingering files from earlier failed installs or files left behind by earlier buggy builds Add permission to AndroidManifest to clear user data
* Finish UninstallerActivity after starting subactivity to actually uninstall ↵Suchi Amalapurapu2009-09-141-0/+1
| | | | | | | which indicates progress etc., If not, the UninstallerActivity is again displayed after finishing off uninstallation. Remove entries from manifest that are no longer part of code base
* Fix screen flow issues in pacakge installer/uninstaller.Suchi Amalapurapu2009-09-085-362/+130
| | | | | | | | | | | | | | | | | | | The main activity was managing the state transitions during installation/uninstallation which was actually not needed. Just make the activities independent and start sub activities without waiting for activity result codes in the main activity. If the user enables development setting to immediately destroy activities, and sideloads an app, the ActivityManager tries to destroy the main activity while it starts sub activities to finish installation and this results in UI bizarreness based on the current state of the installer. Also move InstallConfirmation to the main activity. Converge InstallDone and InstallProgress into one screen. Just enable or disable launch/close buttons. This is how it should have been in the first place.. Same set of issues with uninstall code path as well.
* Fix blank screen in uninstallSuchi Amalapurapu2009-08-041-3/+5
|
* remove uninstall status screen and present the status of uninstallation in ↵Suchi Amalapurapu2009-07-293-121/+68
| | | | | | | | previous screen rename xml file change code flow in activities Ignore back button when installation is in progress
* Null check for application infoSuchi Amalapurapu2009-07-011-1/+1
|
* Rename strings when uninstalling updates for system appsSuchi Amalapurapu2009-06-242-1/+10
| | | | Add new strings
* Use new freeStorage api from PackageManagerSuchi Amalapurapu2009-06-191-1/+1
|
* change utility methods used to load label and icon of packagesSuchi Amalapurapu2009-06-107-32/+72
| | | | | | 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
* reflect remove NameNotFoundException from getLaunchIntentForPackage.Mihai Preda2009-05-141-5/+2
|
* PackageInstaller honors Intent.EXTRA_INSTALLER_PACKAGE_NAMEJacek Surazski2009-05-132-1/+11
| | | | | If this extra is set in the Intent which launches PackageInstaller, PackageInstaller passes it in the call to PackageManager.installPackage().
* Update to match new install API.Dianne Hackborn2009-05-121-3/+3
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-038-0/+1242
|