Add Process.toSupplementalUid to @TestApi
Bug: 217545341 Test: m Change-Id: Ief1029cb03c4b7e5746436a97eb5a1a69a170b60
This commit is contained in:
@@ -1748,6 +1748,7 @@ package android.os {
|
||||
|
||||
public class Process {
|
||||
method public static final int getThreadScheduler(int) throws java.lang.IllegalArgumentException;
|
||||
method public static final int toSupplementalUid(int);
|
||||
field public static final int FIRST_APP_ZYGOTE_ISOLATED_UID = 90000; // 0x15f90
|
||||
field public static final int FIRST_ISOLATED_UID = 99000; // 0x182b8
|
||||
field public static final int LAST_APP_ZYGOTE_ISOLATED_UID = 98999; // 0x182b7
|
||||
|
||||
@@ -929,6 +929,7 @@ public class Process {
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi(client = MODULE_LIBRARIES)
|
||||
@TestApi
|
||||
public static final int toSupplementalUid(int uid) {
|
||||
return uid + (FIRST_SUPPLEMENTAL_UID - FIRST_APPLICATION_UID);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user