Make requested service for context hub service compliant.
Ensure that the requested service name for context hub service is the same as the default service name. Test: GTS "Hello World" test passes. Change-Id: I772c7ae6858416e6aabaceeefff23a5255a4b513
This commit is contained in:
@@ -558,12 +558,12 @@ void getHubsCb(const ::android::hardware::hidl_vec<ContextHub>& hubs) {
|
||||
void initContextHubService() {
|
||||
db.hubInfo.numHubs = 0;
|
||||
|
||||
db.hubInfo.contextHub = IContexthub::getService("context_hub_hal");
|
||||
db.hubInfo.contextHub = IContexthub::getService("context_hub");
|
||||
|
||||
if (db.hubInfo.contextHub == nullptr) {
|
||||
ALOGE("Could not load context hub hal");
|
||||
} else {
|
||||
ALOGI("Loaded context hub hal");
|
||||
ALOGI("Loaded context hub hal, isRemote %s", db.hubInfo.contextHub->isRemote() ? "TRUE" : "FALSE");
|
||||
}
|
||||
|
||||
// Prep for storing app info
|
||||
|
||||
Reference in New Issue
Block a user