)]}'
{
  "commit": "165c521e698a350eb9bdebeeae03afe4d12819d1",
  "tree": "00807cb0e49cc61e733f1fe0467f093171a76a01",
  "parents": [
    "f338ffa8f70bbd545d87516cda710ba930f69068"
  ],
  "author": {
    "name": "Ryan Zuklie",
    "email": "rzuklie@google.com",
    "time": "Thu Jun 15 17:46:17 2023 -0700"
  },
  "committer": {
    "name": "Cherrypicker Worker",
    "email": "android-build-cherrypicker-worker@google.com",
    "time": "Fri Jun 16 21:21:17 2023 +0000"
  },
  "message": "Trace events while not recording history.\n\nThis makes the ATrace events be recorded even when the history events\nare not. History recording may be disabled when the device is on a\ncharger and the batter is nearly fully charged. BatteryStats will reset\nhistory around this time so it may be fine to stop history, but the same\nis not true for tracing.\n\nNote: this introduces two new fields to record the state since when\nhistory is not recorded, mHistoryLastWritten isn\u0027t updated.\n\nTest: atest FrameworksServicesTests:BatteryStatsHistoryTest\nBug: 286818006\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e1b5dc72c4eb910c3c70b7eda697a6ad6511010b)\nMerged-In: I52fc02cd8336adcb6f12305c584206242c40f507\nChange-Id: I52fc02cd8336adcb6f12305c584206242c40f507\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fdcb87ff5e3fcdda32745d099bd5982331e127cf",
      "old_mode": 33188,
      "old_path": "core/java/com/android/internal/os/BatteryStatsHistory.java",
      "new_id": "bbaaa472cbbbafe2ed31f3732c5729b0814a581b",
      "new_mode": 33188,
      "new_path": "core/java/com/android/internal/os/BatteryStatsHistory.java"
    },
    {
      "type": "modify",
      "old_id": "e65229f188fcca05f57c96da24669695ed4e88b5",
      "old_mode": 33188,
      "old_path": "services/tests/servicestests/src/com/android/server/power/stats/BatteryStatsHistoryTest.java",
      "new_id": "1ba14623f04e3e70fecc91222d49fd954ca80c5b",
      "new_mode": 33188,
      "new_path": "services/tests/servicestests/src/com/android/server/power/stats/BatteryStatsHistoryTest.java"
    }
  ]
}
