Merge "Check vendor namespace for SPHAL namespace"

This commit is contained in:
Treehugger Robot 2021-11-22 08:47:18 +00:00 committed by Gerrit Code Review
commit ba3ae06a15

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};
}