commit | 0719c6af4442e1be5de766582398b8e6efb7b180 | [log] [tgz] |
---|---|---|
author | Sudheer Shanka <sudheersai@google.com> | Tue Apr 24 11:12:11 2018 -0700 |
committer | Sudheer Shanka <sudheersai@google.com> | Thu Apr 26 15:43:40 2018 -0700 |
tree | 2bd0235456c838d5ed95df63e267cbd92feddbc0 | |
parent | 167710981c30ec8b23ecd7367a00c1d8fee7d263 [diff] |
Schedule external stats sync on battery level change with a delay and fix locking in scheduleCpuStatsSyncDueToWakelockChange(). Bug: 74146897 Test: atest cts/hostsidetests/incident/src/com/android/server/cts/BatteryStatsValidationTest.java Test: atest core/tests/coretests/src/com/android/internal/os/BatteryStatsTests.java Change-Id: I2891dfb8a0aedf429232f45e26deab93c738506e