Merge "Allow movement of forward-locked apps to SD" into jb-dev

This commit is contained in:
Kenny Root
2012-05-08 16:56:00 -07:00
committed by Android (Google) Code Review

View File

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