commit | 3a70f3b3c1f1c08973b514aa2843729195c03446 | [log] [tgz] |
---|---|---|
author | rambowang <rambowang@google.com> | Thu Jun 27 18:10:51 2024 -0500 |
committer | rambowang <rambowang@google.com> | Tue Jul 02 15:08:18 2024 -0500 |
tree | 89ec4e3abba43da46493a45a66a33c8144289ba7 | |
parent | db3e4d9d8617b696469959d8d63359aa7ef0dab2 [diff] |
Introduce utility methods to check system/phone process for multi-user Telephony components have multiple user cases to check if the current process is a system/phone process, or root/shell process. The utility methods correctly take muliti-user cases into account and help to reduce the duplication. Bug: 328511085 Test: atest framewoksTelephonyTests Flag: com.android.internal.telephony.flags.support_phone_uid_check_for_multiuser Change-Id: I880262d637e55b1cc0aa6c95f487585dc935d731