summaryrefslogtreecommitdiff
path: root/transport/ServiceManagement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'transport/ServiceManagement.cpp')
-rw-r--r--transport/ServiceManagement.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/transport/ServiceManagement.cpp b/transport/ServiceManagement.cpp
index 78c1e96..6d85b57 100644
--- a/transport/ServiceManagement.cpp
+++ b/transport/ServiceManagement.cpp
@@ -211,7 +211,8 @@ static bool isServiceManager(const hidl_string& fqName) {
}
static bool isHwServiceManagerInstalled() {
return access("/system_ext/bin/hwservicemanager", F_OK) == 0 ||
- access("/system/system_ext/bin/hwservicemanager", F_OK) == 0;
+ access("/system/system_ext/bin/hwservicemanager", F_OK) == 0 ||
+ access("/system/bin/hwservicemanager", F_OK) == 0;
}
/*