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

* commit 'db5584158180bbb5af9a07f0c5f505388807f13c':
  Allow movement of forward-locked apps to SD
This commit is contained in:
Kenny Root
2012-05-09 01:49:12 -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;