diff options
| author | Jeff Sharkey <jsharkey@android.com> | 2017-03-21 10:09:50 -0600 |
|---|---|---|
| committer | Jeff Sharkey <jsharkey@android.com> | 2017-03-21 10:09:50 -0600 |
| commit | 07c5c6f7f02b0ed1b71647558fabdac15bbc8d24 (patch) | |
| tree | 48659770fcc54652faafef547ec67d9400e4e557 /core/java/android/os/Process.java | |
| parent | 3e09b3c3fe4e74fcc0570c5065e9444604944eb0 (diff) | |
Allocate new UID for OTA update resource tracking.
Recent changes to OTA updates started "blaming" network usage on the
system UID, which makes it difficult to triage incoming bugreports
that claim heavy network usage. Instead, this change gives OTA
updates an explicit UID to make triage easier.
Test: builds, boots
Bug: 36130264
Change-Id: I541299f83def41cfebc010dd825093467f372e79
Diffstat (limited to 'core/java/android/os/Process.java')
| -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 d6688e3c00f7..f69c996c5368 100644 --- a/core/java/android/os/Process.java +++ b/core/java/android/os/Process.java @@ -140,6 +140,12 @@ public class Process { public static final int WEBVIEW_ZYGOTE_UID = 1051; /** + * Defines the UID used for resource tracking for OTA updates. + * @hide + */ + public static final int OTA_UPDATE_UID = 1061; + + /** * Defines the start of a range of UIDs (and GIDs), going from this * number to {@link #LAST_APPLICATION_UID} that are reserved for assigning * to applications. |
