Merge "StatsCompanionService: register thermal event on all types" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ab3e8c74c0
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user