Merge "health HAL uses "default" service name"

This commit is contained in:
TreeHugger Robot 2017-02-24 22:30:22 +00:00 committed by Android (Google) Code Review
commit 9691bb604b

View file

@ -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;