diff options
| author | Nikita Ioffe <ioffe@google.com> | 2022-02-09 02:36:25 +0000 |
|---|---|---|
| committer | Nikita Ioffe <ioffe@google.com> | 2022-02-09 02:36:25 +0000 |
| commit | 07308085efb69a086286e9cf49b323908811cd0b (patch) | |
| tree | 3949957486260adab88ecf52b75052bf6eb4fb09 /core/java/android/os/Process.java | |
| parent | b9e21f719e579e27b5e6e947ba01e70463c48f01 (diff) | |
Add Process.toSupplementalUid to @TestApi
Bug: 217545341
Test: m
Change-Id: Ief1029cb03c4b7e5746436a97eb5a1a69a170b60
Diffstat (limited to 'core/java/android/os/Process.java')
| -rw-r--r-- | core/java/android/os/Process.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/os/Process.java b/core/java/android/os/Process.java index 2fe062268112..17b5ec5ca01b 100644 --- a/core/java/android/os/Process.java +++ b/core/java/android/os/Process.java @@ -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); } |
