From e1bddc78bfb660aa44fe36412d844908d14a69af Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Mon, 20 Mar 2017 14:53:14 -0600 Subject: [PATCH] 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: I0a0cc009f3d891b19b419bc12cd237ef8ac64519 --- include/private/android_filesystem_config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h index 48a0e61b0..d20007075 100644 --- a/include/private/android_filesystem_config.h +++ b/include/private/android_filesystem_config.h @@ -129,6 +129,7 @@ #define AID_TOMBSTONED 1058 /* tombstoned user */ #define AID_MEDIA_OBB 1059 /* GID for OBB files on internal media storage */ #define AID_ESE 1060 /* embedded secure element (eSE) subsystem */ +#define AID_OTA_UPDATE 1061 /* resource tracking UID for OTA updates */ /* Changes to this file must be made in AOSP, *not* in internal branches. */ #define AID_SHELL 2000 /* adb and debug shell user */