Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9691bb60 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "health HAL uses "default" service name"

parents 62a6b16c 68f4085e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;