From f4b4f4d43bafac1e50cdfc82ed34d60a3b99063e Mon Sep 17 00:00:00 2001 From: Lorenzo Colitti Date: Thu, 1 Mar 2018 21:06:11 +0900 Subject: [PATCH] Add DNS_TETHER to the list of UIDs in the framework. It has been reserved in android_filesystem_config.h since aosp/245632 in 2016, but was never included in the list of UIDs in Process.java. Bug: 29881876 Test: builds, boots Change-Id: I6d36d7d15634445d992a10087b5ba31b480f9f20 --- core/java/android/os/Process.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/java/android/os/Process.java b/core/java/android/os/Process.java index 5e6f5f5dad5b4..d693ee8d941af 100644 --- a/core/java/android/os/Process.java +++ b/core/java/android/os/Process.java @@ -139,6 +139,12 @@ public class Process { */ public static final int CAMERASERVER_UID = 1047; + /** + * Defines the UID/GID for the tethering DNS resolver (currently dnsmasq). + * @hide + */ + public static final int DNS_TETHER_UID = 1052; + /** * Defines the UID/GID for the WebView zygote process. * @hide