diff options
author | Suchi Amalapurapu <asuchitra@google.com> | 2010-01-25 12:40:34 -0800 |
---|---|---|
committer | Suchi Amalapurapu <asuchitra@google.com> | 2010-01-25 17:54:55 -0800 |
commit | 9629a925eded634556b444d6d11985894dfb9f6a (patch) | |
tree | 0ddb169e02b23ef417778c0de4a1d5facad72870 /src/com/android/packageinstaller/PackageInstallerActivity.java | |
parent | e40d35ee030031d04dc6f8d53af5710ae16b351e (diff) | |
download | packages_apps_packageinstaller-9629a925eded634556b444d6d11985894dfb9f6a.zip packages_apps_packageinstaller-9629a925eded634556b444d6d11985894dfb9f6a.tar.gz packages_apps_packageinstaller-9629a925eded634556b444d6d11985894dfb9f6a.tar.bz2 |
Remove copying temporary file into installer's private data directory.
The system process can now make a copy for itself.
Diffstat (limited to 'src/com/android/packageinstaller/PackageInstallerActivity.java')
-rw-r--r-- | src/com/android/packageinstaller/PackageInstallerActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/packageinstaller/PackageInstallerActivity.java b/src/com/android/packageinstaller/PackageInstallerActivity.java index b165194..a945a54 100644 --- a/src/com/android/packageinstaller/PackageInstallerActivity.java +++ b/src/com/android/packageinstaller/PackageInstallerActivity.java @@ -315,7 +315,7 @@ public class PackageInstallerActivity extends Activity implements OnCancelListen String apkPath = mPackageURI.getPath(); File apkFile = new File(apkPath); //TODO? DEVISE BETTER HEAURISTIC - size = 4*apkFile.length(); + size = 1*apkFile.length(); checkOutOfSpace(size); } |