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:
commit
c8f2724978
1 changed files with 1 additions and 1 deletions
|
@ -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};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue