OSDN Git Service

Dont fall back to installing on sdcard when internal storage is filled up
authorSuchi Amalapurapu <asuchitra@google.com>
Tue, 13 Apr 2010 21:32:16 +0000 (14:32 -0700)
committerSuchi Amalapurapu <asuchitra@google.com>
Thu, 15 Apr 2010 01:24:06 +0000 (18:24 -0700)
commit315a5fb91dbafe6073435a13d937cee9d26877f6
tree3e5bdebfa89ae4e997a726e5e600751823cca580
parent40b6996a8fb7da131e8b91453b08e292723662be
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
core/tests/coretests/src/android/content/pm/PackageManagerTests.java
packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java
services/java/com/android/server/PackageManagerService.java