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

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

Merge "thermal HAL uses "default" service name"

parents afc52f44 51c3b50c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ float finalizeTemperature(float temperature) {
static void nativeInit(JNIEnv* env, jobject obj) {
    // TODO(b/31632518)
    if (gThermalModule == nullptr) {
        gThermalModule = IThermal::getService("thermal");
        gThermalModule = IThermal::getService();
    }

    if (gThermalModule == nullptr) {