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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user