Loading cmds/statsd/src/StatsService.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -1288,7 +1288,6 @@ Status StatsService::getRegisteredExperimentIds(std::vector<int64_t>* experiment return Status::ok(); } void StatsService::statsCompanionServiceDied(void* cookie) { auto thiz = static_cast<StatsService*>(cookie); thiz->statsCompanionServiceDiedImpl(); Loading core/java/com/android/internal/os/BatteryStatsImpl.java +4 −0 Original line number Diff line number Diff line Loading @@ -9875,6 +9875,10 @@ public class BatteryStatsImpl extends BatteryStats { mPlatformIdleStateCallback = cb; mRailEnergyDataCallback = railStatsCb; mUserInfoProvider = userInfoProvider; // Notify statsd that the system is initially not in doze. mDeviceIdleMode = DEVICE_IDLE_MODE_OFF; FrameworkStatsLog.write(FrameworkStatsLog.DEVICE_IDLE_MODE_STATE_CHANGED, mDeviceIdleMode); } @UnsupportedAppUsage Loading Loading
cmds/statsd/src/StatsService.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -1288,7 +1288,6 @@ Status StatsService::getRegisteredExperimentIds(std::vector<int64_t>* experiment return Status::ok(); } void StatsService::statsCompanionServiceDied(void* cookie) { auto thiz = static_cast<StatsService*>(cookie); thiz->statsCompanionServiceDiedImpl(); Loading
core/java/com/android/internal/os/BatteryStatsImpl.java +4 −0 Original line number Diff line number Diff line Loading @@ -9875,6 +9875,10 @@ public class BatteryStatsImpl extends BatteryStats { mPlatformIdleStateCallback = cb; mRailEnergyDataCallback = railStatsCb; mUserInfoProvider = userInfoProvider; // Notify statsd that the system is initially not in doze. mDeviceIdleMode = DEVICE_IDLE_MODE_OFF; FrameworkStatsLog.write(FrameworkStatsLog.DEVICE_IDLE_MODE_STATE_CHANGED, mDeviceIdleMode); } @UnsupportedAppUsage Loading