4f78e1fa55255a261247e9a112bc4433cd1a9ab0 |
|
03-Nov-2016 |
Philip P. Moltmann <moltmann@google.com> |
Uninstaller: For result lifecycle safe - Move old uninstallation code to TV only (code in app_details.xml, uninstall_progress.xml, UninstallAppProgress, UninstallAppProgressFragment) - use increasing (non-random) IDs for all uninstallations, even those without uninstall-event-handling. - Have new workflow to uninstallations that require the result to be forwarded. For those just show a progress dialog. (code in UninstallUninstalling). To deal with lifecyle events I am reusing the EventResultPersister similar to the installation. Test: Uninstalled from Settings Change-Id: Iabdebd5412a910efa94c74efc4dd141879614d0b
/packages/apps/PackageInstaller/src/com/android/packageinstaller/television/UninstallAppProgressFragment.java
|