summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-09-11 00:07:42 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-09-11 00:07:42 +0000
commit042bd400547dda7dce4a526fb3b68303fa934229 (patch)
tree874a3a61fe15c54de266336360a5b9d93b52cbe0 /services
parenta0a47c737951db52af4943f5737da48d30adc6fe (diff)
parentcc8f710a503ebda563caf2fcfc584de5e2ed76c4 (diff)
downloadframeworks_base-042bd400547dda7dce4a526fb3b68303fa934229.zip
frameworks_base-042bd400547dda7dce4a526fb3b68303fa934229.tar.gz
frameworks_base-042bd400547dda7dce4a526fb3b68303fa934229.tar.bz2
Merge "Include system packages in packages.list." into klp-dev
Diffstat (limited to 'services')
-rw-r--r--services/java/com/android/server/pm/Settings.java5
1 files 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 415cda1..92026b2 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: