commit | 5c08e30e8cd35a7ddfb2be0cc7f6ade572c2bbc8 | [log] [tgz] |
---|---|---|
author | Kiyoung Kim <kiyoungkim@google.com> | Fri Nov 10 16:35:13 2023 +0900 |
committer | Kiyoung Kim <kiyoungkim@google.com> | Mon Nov 27 17:29:19 2023 +0900 |
tree | dfb5c5628fe986a4d1ecb7b48723873726403752 | |
parent | 04b22dd2210c6d108c4bff4e5708cd3099ba770e [diff] |
Do not rely on android_is_in_vendor_process android_is_in_vendor_process is used to check if the function is called from the system process. However, implementation would not work as expected once VNDK deprecates. This change is to change logic from using libvndksupport to directly check if current selinux context can access to permission service. Bug: 300366609 Test: aosp cf build succeded Change-Id: I7cb904fe9910e5325132c68ca584eb964c84a79b