From cc8f710a503ebda563caf2fcfc584de5e2ed76c4 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Tue, 10 Sep 2013 16:57:24 -0700 Subject: [PATCH] Include system packages in packages.list. This provides group membership to the FUSE daemon, since system packages like NFC and Bluetooth hold sdcard_rw. Bug: 10610659 Change-Id: I7428e999cfa4087ffe220b9d8bd80827191ab997 --- services/java/com/android/server/pm/Settings.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/services/java/com/android/server/pm/Settings.java b/services/java/com/android/server/pm/Settings.java index 415cda19ecf29..92026b2bb6bac 100644 --- a/services/java/com/android/server/pm/Settings.java +++ b/services/java/com/android/server/pm/Settings.java @@ -1395,9 +1395,8 @@ final class Settings { final boolean isDebug = (ai.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0; final int[] gids = pkg.getGids(); - // Avoid any application that has a space in its path - // or that is handled by the system. - if (dataPath.indexOf(" ") >= 0 || ai.uid < Process.FIRST_APPLICATION_UID) + // Avoid any application that has a space in its path. + if (dataPath.indexOf(" ") >= 0) continue; // we store on each line the following information for now: