Merge "Check vendor namespace for SPHAL namespace" am: ba3ae06a15 am: c8f2724978
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1895033 Change-Id: I098f03319b1c061b260e2d45db22cb284ee00072
This commit is contained in:
commit
5075a2f30c
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…
Add table
Reference in a new issue