Allow movement of forward-locked apps to SD

Forward-locked apps are now in ASEC containers which can exist on both
SD card and internal storage. Merry Christmas.

Change-Id: If793cf76858395bfc67cd18ab18f488a83757d5f
This commit is contained in:
Kenny Root
2012-04-12 14:27:21 -07:00
parent 98d262df0d
commit 3c24cfed8d

View File

@@ -88,8 +88,7 @@ final class CanBeOnSdCardChecker {
if ((info.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0) { if ((info.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0) {
canBe = true; canBe = true;
} else { } else {
if ((info.flags & ApplicationInfo.FLAG_FORWARD_LOCK) == 0 && if ((info.flags & ApplicationInfo.FLAG_SYSTEM) == 0) {
(info.flags & ApplicationInfo.FLAG_SYSTEM) == 0) {
if (info.installLocation == PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL || if (info.installLocation == PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL ||
info.installLocation == PackageInfo.INSTALL_LOCATION_AUTO) { info.installLocation == PackageInfo.INSTALL_LOCATION_AUTO) {
canBe = true; canBe = true;