Merge "health HAL uses "default" service name"
This commit is contained in:
commit
9691bb604b
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ void healthd_board_init(struct healthd_config *config) {
|
|||
// Initialize the board HAL - Equivalent of healthd_board_init(config)
|
||||
// in charger/recovery mode.
|
||||
|
||||
gHealth = IHealth::getService("health");
|
||||
gHealth = IHealth::getService();
|
||||
if (gHealth == nullptr) {
|
||||
KLOG_WARNING(LOG_TAG, "unable to get HAL interface, using defaults\n");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue