summaryrefslogtreecommitdiffstats
path: root/src/com/android/packageinstaller/PackageInstallerActivity.java
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2016-10-14 16:58:33 -0700
committerPhilip P. Moltmann <moltmann@google.com>2016-10-17 10:24:30 -0700
commit71a394c38d386e7323301a450d22df9f2b5a2613 (patch)
tree03a439c63376c0d696ff76eac54faff6f0991174 /src/com/android/packageinstaller/PackageInstallerActivity.java
parent429e653819f7faabaa6b80b27da7afc200f831bf (diff)
downloadandroid_packages_apps_PackageInstaller-71a394c38d386e7323301a450d22df9f2b5a2613.tar.gz
android_packages_apps_PackageInstaller-71a394c38d386e7323301a450d22df9f2b5a2613.tar.bz2
android_packages_apps_PackageInstaller-71a394c38d386e7323301a450d22df9f2b5a2613.zip
Split installing from display result.
This allows us to properly deal with the activity lifecycle of this step. Note: If the activity is destroyed while the installation finishes we do not pick up the result. This bug was there before. Test: - Canceled during write-to-package-installer and package-installer-process phase - Resized during both phases too. Change-Id: Ieecd37b62f4e946976fbe7d028a44140cf47b881
Diffstat (limited to 'src/com/android/packageinstaller/PackageInstallerActivity.java')
-rw-r--r--src/com/android/packageinstaller/PackageInstallerActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/packageinstaller/PackageInstallerActivity.java b/src/com/android/packageinstaller/PackageInstallerActivity.java
index 057df894..caa2500b 100644
--- a/src/com/android/packageinstaller/PackageInstallerActivity.java
+++ b/src/com/android/packageinstaller/PackageInstallerActivity.java
@@ -688,7 +688,7 @@ public class PackageInstallerActivity extends Activity implements OnCancelListen
newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO,
mPkgInfo.applicationInfo);
newIntent.setData(mPackageURI);
- newIntent.setClass(this, InstallAppProgress.class);
+ newIntent.setClass(this, InstallInstalling.class);
String installerPackageName = getIntent().getStringExtra(
Intent.EXTRA_INSTALLER_PACKAGE_NAME);
if (mOriginatingURI != null) {