summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuchi Amalapurapu <asuchitra@google.com>2010-02-09 10:18:48 -0800
committerSuchi Amalapurapu <asuchitra@google.com>2010-02-10 09:07:23 -0800
commitabccd1044822be3b17ca560343782637fa7a3259 (patch)
treec2aa560c9e7b1f1fe3bd486f2866340d867f2c7f
parent5ce7c0081cfe03389f2cd79ce219e2f0d6dc1572 (diff)
downloadandroid_packages_apps_PackageInstaller-abccd1044822be3b17ca560343782637fa7a3259.zip
android_packages_apps_PackageInstaller-abccd1044822be3b17ca560343782637fa7a3259.tar.gz
android_packages_apps_PackageInstaller-abccd1044822be3b17ca560343782637fa7a3259.tar.bz2
Change method signature for recommendAppInstallLocation
-rwxr-xr-xsrc/com/android/packageinstaller/InstallAppProgress.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/packageinstaller/InstallAppProgress.java b/src/com/android/packageinstaller/InstallAppProgress.java
index e26abc2..4e757e8 100755
--- a/src/com/android/packageinstaller/InstallAppProgress.java
+++ b/src/com/android/packageinstaller/InstallAppProgress.java
@@ -157,9 +157,8 @@ public class InstallAppProgress extends Activity implements View.OnClickListener
String installerPackageName = getIntent().getStringExtra(
Intent.EXTRA_INSTALLER_PACKAGE_NAME);
- ApplicationInfo appInfo = PackageUtil.getApplicationInfo(mPackageURI);
int bestInstallLoc =
- pm.recommendAppInstallLocation(appInfo, mPackageURI);
+ pm.recommendAppInstallLocation(PackageUtil.getPackageInfo(mPackageURI));
// If best location is SD card, mark it in package flags.
// for the time being, ignore if the application does not fit.