diff options
author | Jeff Sharkey <jsharkey@android.com> | 2012-04-24 17:07:22 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2012-04-24 17:33:32 -0700 |
commit | 5294a2fc2f401cd248a4bc3f0f9ee1e2854f4e9a (patch) | |
tree | aca2845da20c5942675f06747a0964e99beb8a46 /core/java/android | |
parent | af772be33caba9709b7c4c52c9a7182bf0fc3a03 (diff) | |
download | frameworks_base-5294a2fc2f401cd248a4bc3f0f9ee1e2854f4e9a.zip frameworks_base-5294a2fc2f401cd248a4bc3f0f9ee1e2854f4e9a.tar.gz frameworks_base-5294a2fc2f401cd248a4bc3f0f9ee1e2854f4e9a.tar.bz2 |
Relax global restrict for system services.
Since we control system services, we can ensure they are using little
data when data usage is globally restricted. Continue restricting
AID_MEDIA and AID_DRM, since they respond to app requests.
Bug: 6377903, 5772564
Change-Id: I196bf334f903397ea6a67e6802240ee792e47b54
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/os/Process.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/os/Process.java b/core/java/android/os/Process.java index 770bf1c..8eb1928 100644 --- a/core/java/android/os/Process.java +++ b/core/java/android/os/Process.java @@ -92,6 +92,12 @@ public class Process { public static final int MEDIA_UID = 1013; /** + * Defines the UID/GID for the DRM process. + * @hide + */ + public static final int DRM_UID = 1019; + + /** * Defines the GID for the group that allows write access to the SD card. * @hide */ |