summaryrefslogtreecommitdiffstats
path: root/core/java/android/os
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2009-09-03 09:25:22 -0400
committerMike Lockwood <lockwood@android.com>2009-09-03 13:47:54 -0400
commitd42685d5de1dbd6d75b48d42418f370adaa4daef (patch)
treef175b669f7f5e888fc9454478d52c8df23c50868 /core/java/android/os
parent1a3af62bfb3583ac2fece18523927587b6b6a277 (diff)
downloadframeworks_base-d42685d5de1dbd6d75b48d42418f370adaa4daef.zip
frameworks_base-d42685d5de1dbd6d75b48d42418f370adaa4daef.tar.gz
frameworks_base-d42685d5de1dbd6d75b48d42418f370adaa4daef.tar.bz2
Add support for running apps with uid/gid AID_LOG by specifying android.uid.log in the manifest
This is needed to allow the BugReportService to start the dumpstate service. Change-Id: I12cab23767c919592da102c654b6b80416717661 Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'core/java/android/os')
-rw-r--r--core/java/android/os/Process.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/os/Process.java b/core/java/android/os/Process.java
index 980cff3..699ddb2 100644
--- a/core/java/android/os/Process.java
+++ b/core/java/android/os/Process.java
@@ -74,6 +74,12 @@ public class Process {
public static final int SHELL_UID = 2000;
/**
+ * Defines the UID/GID for the log group.
+ * @hide
+ */
+ public static final int LOG_UID = 1007;
+
+ /**
* Defines the UID/GID for the WIFI supplicant process.
* @hide
*/