commit | a856e583b744bcd873a9ca500f9c69f5b8232c32 | [log] [tgz] |
---|---|---|
author | rambowang <rambowang@google.com> | Thu Jul 11 13:55:31 2024 -0500 |
committer | rambowang <rambowang@google.com> | Fri Jul 12 11:08:25 2024 -0500 |
tree | 2229c8ffb860b7b342699ca67d8476b1f2a52e12 | |
parent | 3606ee4162aeaffe488d2dff8cca3a9330d09bbf [diff] |
Check phone or system process in PMS with multiple-user-aware way This CL checks phone or system process by the help of UserHandle.isSameApp 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: I97fabc526c3297f37fef71aeac9a37ea909ab4ef