History log of /packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2a55949c2d630c4a96b83c3fb4b8d65bb762c7dd 09-Mar-2016 Amith Yamasani <yamasani@google.com> Tweak strings when uninstalling updates

Inform about data deletion and also about other users.

Bug: 26694521
Change-Id: Ib1ab8ca58e111cfbad6895f296e567e289ce34d8
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
3620a3233ae2fd1fa2fa8dd30266006b243ec188 05-Oct-2015 Ciesla, Jakub 2 (EXT) <jakub.ciesla@sonymobile.com> Fix crash in OnDismiss

Steps to reproduce the crash are as follows:
1. Launch Settings >> Apps
2. Select an app to uninstall
3. Select “uninstall” then confirmation comes up
4. Tap Home key and launch Settings apps again
5. You see app crash notification

This was due to DialogFragment.onDismiss() called after the
underlying activity was stopped and detached.
In other cases (cancel, delete, back key) there is no problem.
For home key scenario it is enough to check, if dialog is
currently added to its activity. Fragment.isAdded() checks
internally, if its activity is not null and if it's added to this
activity.

BUG: https://code.google.com/p/android/issues/detail?id=144163

Change-Id: I3cb75ec392fd68f131ec65e4eafae2351e95ea25
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
72d0d86c65a6e02e17332cf9a55675e893087645 11-Mar-2015 Christopher Tate <ctate@google.com> Don't crash when cancelling an uninstall of a nonexistent package

We bring up the UI with a friendly "hey this app does not exist" mode,
but in the abort flow we were implicitly assuming that the target app
info was properly initialized, and NPEing. Now we aren't.

Bug 19676670

Change-Id: I017632caa51d0f1b354fdd48ad4867d245357680
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
3e3e1126d588bb1fb1879c34a0f9963206ec8f22 29-Aug-2014 Adam Lesinski <adamlesinski@google.com> Use an AlertDialog for the Uninstall confirmation

This allows us to get the correct theming for free
moving forward.

Bug:17045520

Change-Id: I173315b39816b0061c048459e1f14d81747f072b
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
0156e7b2e28048ad0914b7c4b3896d749d5a75f3 15-Aug-2014 Jeff Sharkey <jsharkey@android.com> PackageInstaller API refactoring.

Bug: 17008440
Change-Id: Ice56b712a96abecc3d908424d4595449927c2d3e
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
3aeb50560ee8c383b7dfa65fd8c46642d2a6ef5c 08-Aug-2014 Jeff Sharkey <jsharkey@android.com> Extend to support uninstall callbacks.

The new PackageInstaller.uninstall() API in the framework currently
shuttles through the callers IBinder, just to get this flow working
for now.

Bug: 16515814
Change-Id: Ib7b839b3fcc1c854f99af6eeae25172e900acb80
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
596ce64f71011e7600ee2be66d977dafb86b9da3 03-Jun-2014 Kenny Guy <kennyguy@google.com> Support uninstalling apps for other profiles.

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
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
8124c242d390b283c2623c24a93fe9756658571a 01-Nov-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7448596: Can't uninstall app that was installed by another user

Change-Id: I80a07a30cb452eee61e0838b5133559bb1f10d6f
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
3e0c22f98f61d8570c14c6f7ce49a05c1804d1f9 17-Sep-2012 Dianne Hackborn <hackbod@google.com> Implement new option for uninstalling over all users.

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
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
9e9721266feafdf16786b94f6fac4c06220cd422 10-Aug-2011 Dianne Hackborn <hackbod@google.com> Implement new extended install/uninstall options.

Change-Id: I60374f937ca3ccf454480b196a7eb4e36d67fe86
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
362660b35aec989137b205ce8cb8eb945c19c1a3 03-Sep-2010 Patrick Dubroy <dubroy@google.com> Check for activity info when uninstalling.

Also, switch to using standard fat title bar.
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
2f830ef28c014bff7766e8d82faf3ebf58a8cc14 14-Sep-2009 Suchi Amalapurapu <asuchitra@google.com> Finish UninstallerActivity after starting subactivity to actually uninstall 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
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
d9b773b7041894e37c1b6f62d6b221dd3c8e4c43 01-Sep-2009 Suchi Amalapurapu <asuchitra@google.com> Fix screen flow issues in pacakge installer/uninstaller.
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.
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
7672c9941137c4664f5a2c64eb15a335b3c4789d 29-Jul-2009 Suchi Amalapurapu <asuchitra@google.com> remove uninstall status screen and present the status of uninstallation in previous screen
rename xml file
change code flow in activities
Ignore back button when installation is in progress
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
3d8cab3e3e7884d628a4b799a93155c6efcab95a 25-Jun-2009 Suchi Amalapurapu <asuchitra@google.com> Rename strings when uninstalling updates for system apps
Add new strings
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
ff8693ab50a9ed78ee816361c628969752127e9d 12-May-2009 Suchi Amalapurapu <asuchitra@google.com> change utility methods used to load label and icon of packages
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
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
91ec61c3dca241befdf4a3803c45b051a3e3124f 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
8106e501baad76e7192c7ddbb9f5e179c7ff6f9b 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
8b1096d1ada329a296059ccff04e5d78eefa77c1 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
2fa4ad8141ed0cb686c7acab27f01e8c2bc2877a 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
092149c8a75237c476a917d57c48f8b8cd51f0f0 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
088073e6787fca4bfc68d6b04a5e887a03faf745 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java