diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-05-14 22:33:54 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-05-14 22:33:54 -0700 |
commit | aa77de1348cbda3d5348b15734ab141cb9c7759c (patch) | |
tree | 081bdad2696ec700927f902289ebdeaae18624e2 | |
parent | d1e9d590941303c004459f3d798b26f1bf091535 (diff) | |
download | frameworks_base-aa77de1348cbda3d5348b15734ab141cb9c7759c.zip frameworks_base-aa77de1348cbda3d5348b15734ab141cb9c7759c.tar.gz frameworks_base-aa77de1348cbda3d5348b15734ab141cb9c7759c.tar.bz2 |
Fix issue #2686193: Can't move apps to SD card
Change-Id: Icd84d8080d33fb8ce5103a0e726d50f0ec70092e
-rw-r--r-- | services/java/com/android/server/PackageManagerService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/java/com/android/server/PackageManagerService.java b/services/java/com/android/server/PackageManagerService.java index ee725cc..22becba 100644 --- a/services/java/com/android/server/PackageManagerService.java +++ b/services/java/com/android/server/PackageManagerService.java @@ -5315,13 +5315,13 @@ class PackageManagerService extends IPackageManager.Stub { } SdInstallArgs(String cid) { - this((Uri)null, cid); + super(null, null, PackageManager.INSTALL_EXTERNAL, null); + this.cid = cid; } SdInstallArgs(Uri packageURI, String cid) { super(packageURI, null, PackageManager.INSTALL_EXTERNAL, null); this.cid = cid; - cachePath = PackageHelper.getSdDir(cid); } void createCopyFile() { |