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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user