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

Commit 806a6a8b authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove unnecessary lock on mHalReady/mHalWrapper for dumpInternal" into main

parents 291d0f41 d5c0dfa3
Loading
Loading
Loading
Loading
+14 −14
Original line number Diff line number Diff line
@@ -906,6 +906,7 @@ public class ThermalManagerService extends SystemService {
                pw.println("Thermal Status: " + mStatus);
                pw.println("Cached temperatures:");
                dumpItemsLocked(pw, "\t", mTemperatureMap.values());
            }
            pw.println("HAL Ready: " + mHalReady.get());
            if (mHalReady.get()) {
                pw.println("HAL connection:");
@@ -920,7 +921,6 @@ public class ThermalManagerService extends SystemService {
                dumpTemperatureThresholds(pw, "\t",
                        mHalWrapper.getTemperatureThresholds(false, 0));
            }
            }
            if (Flags.allowThermalHeadroomThresholds()) {
                synchronized (mTemperatureWatcher.mSamples) {
                    pw.println("Temperature headroom thresholds:");