am b0c30322
: hardware: look in /vendor for default.so
* commit 'b0c303229fcbc89a0afa8f170de64f2a7fee9d6c': hardware: look in /vendor for default.so
This commit is contained in:
commit
c9940a2bfe
1 changed files with 4 additions and 0 deletions
|
@ -153,6 +153,10 @@ int hw_get_module_by_class(const char *class_id, const char *inst,
|
|||
HAL_LIBRARY_PATH1, name, prop);
|
||||
if (access(path, R_OK) == 0) break;
|
||||
} else {
|
||||
snprintf(path, sizeof(path), "%s/%s.default.so",
|
||||
HAL_LIBRARY_PATH2, name);
|
||||
if (access(path, R_OK) == 0) break;
|
||||
|
||||
snprintf(path, sizeof(path), "%s/%s.default.so",
|
||||
HAL_LIBRARY_PATH1, name);
|
||||
if (access(path, R_OK) == 0) break;
|
||||
|
|
Loading…
Reference in a new issue