am 14cd246a: am db558415: Merge "Allow movement of forward-locked apps to SD" into jb-dev

* commit '14cd246a313d1836ce031da920ca78c14c903896':
  Allow movement of forward-locked apps to SD
This commit is contained in:
Kenny Root
2012-05-09 01:54:40 -07:00
committed by Android Git Automerger

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;