Expose UIDs for NetworkStack permission checks

The UIDs are unlikely to change and added as public API.

Test: m
Bug: 112869080
Change-Id: I5477093a4c8593dd9ada7587b86c65352e628c34
This commit is contained in:
Remi NGUYEN VAN
2019-01-20 12:23:32 +09:00
parent 8586a43f31
commit 0d81df94cd
3 changed files with 3 additions and 6 deletions

View File

@@ -46,7 +46,6 @@ public class Process {
/**
* Defines the root UID.
* @hide
*/
public static final int ROOT_UID = 0;
@@ -62,7 +61,6 @@ public class Process {
/**
* Defines the UID/GID for the user shell.
* @hide
*/
public static final int SHELL_UID = 2000;
@@ -116,7 +114,6 @@ public class Process {
/**
* Defines the UID/GID for the Bluetooth service process.
* @hide
*/
public static final int BLUETOOTH_UID = 1002;