diff --git a/services/core/jni/com_android_server_location_ContextHubService.cpp b/services/core/jni/com_android_server_location_ContextHubService.cpp index 05ef0d11e16cb..27d2b6d66aec3 100644 --- a/services/core/jni/com_android_server_location_ContextHubService.cpp +++ b/services/core/jni/com_android_server_location_ContextHubService.cpp @@ -558,7 +558,7 @@ void getHubsCb(const ::android::hardware::hidl_vec& hubs) { void initContextHubService() { db.hubInfo.numHubs = 0; - db.hubInfo.contextHub = IContexthub::getService("context_hub"); + db.hubInfo.contextHub = IContexthub::getService(); if (db.hubInfo.contextHub == nullptr) { ALOGE("Could not load context hub hal");