am 042bd400: Merge "Include system packages in packages.list." into klp-dev

* commit '042bd400547dda7dce4a526fb3b68303fa934229':
  Include system packages in packages.list.
This commit is contained in:
Jeff Sharkey
2013-09-10 17:12:30 -07:00
committed by Android Git Automerger

View File

@@ -1395,9 +1395,8 @@ final class Settings {
final boolean isDebug = (ai.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0; final boolean isDebug = (ai.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0;
final int[] gids = pkg.getGids(); final int[] gids = pkg.getGids();
// Avoid any application that has a space in its path // Avoid any application that has a space in its path.
// or that is handled by the system. if (dataPath.indexOf(" ") >= 0)
if (dataPath.indexOf(" ") >= 0 || ai.uid < Process.FIRST_APPLICATION_UID)
continue; continue;
// we store on each line the following information for now: // we store on each line the following information for now: