Dont fall back to installing on sdcard when internal storage is filled up

when the install location is set to internal only. Similary if install
location is set to external only(via adb), dont fall back to installing on
internal storage if sdcard is filled up.
If nothing is specified ie install location is set to let system decide,
we just check on internal storage.
Fix tests

Change-Id: I7400ccc131782d9c45284bd9ebd0dee43a3b412b
This commit is contained in:
Suchi Amalapurapu
2010-04-13 14:32:16 -07:00
parent 40b6996a8f
commit 315a5fb91d
3 changed files with 99 additions and 108 deletions

View File

@@ -6089,7 +6089,6 @@ class PackageManagerService extends IPackageManager.Stub {
this.args = args;
this.deleteOld = deleteOld;
}
@Override
public void performReceive(Intent intent, int resultCode, String data, Bundle extras,
boolean ordered, boolean sticky) throws RemoteException {
// Force a gc to clear up things