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

Commit c1833d21 authored by Wei Wang's avatar Wei Wang Committed by android-build-merger
Browse files

Merge "StatsCompanionService: register thermal event on all types" into qt-dev

am: ab3e8c74

Change-Id: Ie53c54d48d22b3a4bba35857073283de2a4f4451
parents 74954a72 ab3e8c74
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -338,8 +338,8 @@ public class StatsCompanionService extends IStatsCompanionService.Stub {
        if (b != null) {
            sThermalService = IThermalService.Stub.asInterface(b);
            try {
                sThermalService.registerThermalEventListenerWithType(
                        new ThermalEventListener(), Temperature.TYPE_SKIN);
                sThermalService.registerThermalEventListener(
                        new ThermalEventListener());
                Slog.i(TAG, "register thermal listener successfully");
            } catch (RemoteException e) {
                // Should never happen.