Merge "Check vendor namespace for SPHAL namespace" am: ba3ae06a15

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1895033

Change-Id: I94aadf19ba77b8aa26f6e39a68ddf0ad9db0e398
This commit is contained in:
Treehugger Robot 2021-11-22 09:00:02 +00:00 committed by Automerger Merge Worker
commit c8f2724978

View file

@ -39,7 +39,7 @@ struct VendorNamespace {
static VendorNamespace get_vendor_namespace() {
static VendorNamespace result = ([] {
for (const char* name : {"sphal", "default"}) {
for (const char* name : {"sphal", "vendor", "default"}) {
if (android_namespace_t* ns = android_get_exported_namespace(name)) {
return VendorNamespace{ns, name};
}