commit | f9ca36109211e7be8d921e3b7f56469c49ce5fd9 | [log] [tgz] |
---|---|---|
author | rambowang <rambowang@google.com> | Fri Jun 28 15:33:32 2024 -0500 |
committer | Rambo Wang <rambowang@google.com> | Wed Jul 03 15:38:25 2024 +0000 |
tree | b3df0c9d9049d1bec2b099c958cb9884ff79294a | |
parent | ef2629a54361ebaad857293cd09609b975ed0333 [diff] |
Check phone or system process in PMS with multiple-user-aware way This CL checks phone or system process by the help of TelephonyPermission.isSystemOrPhone which works not only for system user but also secondary users in which 1000/1001 is the app id instead of UID. Bug: 328511085 Test: atest PackageManagerServiceTest Flag: com.android.internal.telephony.flags.support_phone_uid_check_for_multiuser Change-Id: I936c16b63924452cd68b4a38a8ce3369c7913d87