Search in system_ext for SPHALs
Test: m
Bug: 370352548
Change-Id: Ib922b1bd932dd77a72b474b3de2be0f6d72dc661
diff --git a/transport/ServiceManagement.cpp b/transport/ServiceManagement.cpp
index b5e02df..447701f 100644
--- a/transport/ServiceManagement.cpp
+++ b/transport/ServiceManagement.cpp
@@ -513,10 +513,10 @@
dlerror(); // clear
static std::string halLibPathVndkSp = details::getVndkSpHwPath();
- std::vector<std::string> paths = {
- HAL_LIBRARY_PATH_ODM, HAL_LIBRARY_PATH_VENDOR, halLibPathVndkSp,
+ std::vector<std::string> paths = {HAL_LIBRARY_PATH_ODM, HAL_LIBRARY_PATH_VENDOR,
+ halLibPathVndkSp,
#ifndef __ANDROID_VNDK__
- HAL_LIBRARY_PATH_SYSTEM,
+ HAL_LIBRARY_PATH_SYSTEM, HAL_LIBRARY_PATH_SYSTEM_EXT
#endif
};