)]}'
{
  "commit": "eccc88a8b5c628c99d569ec8bdf2d66b9373a747",
  "tree": "a545a3784a41e58487cd3b34eb0824b15d88f87c",
  "parents": [
    "d80f48c3bdd89998200bd06a899db9a6a4b483ae"
  ],
  "author": {
    "name": "Chris Li",
    "email": "lihongyu@google.com",
    "time": "Wed Aug 04 17:04:51 2021 -0700"
  },
  "committer": {
    "name": "Chris Li",
    "email": "lihongyu@google.com",
    "time": "Thu Aug 05 00:14:10 2021 +0000"
  },
  "message": "Destroy ActivityRecord when it is removed from the hierarchy\n\nWhen activity is finishing from back, it may be added to the\nActivityTaskSupervisor#mFinishingActivities and wait for the resume\nactivity IDLE before destroy.\n\nHowever, TaskFragmentOrganizer will be notified to apply WCT to delete\nthe TaskFragment that has no running activity before that is done. It\nwill cause the activity removed from the hierarchy before the destroy is\ncalled.\n\nFix: 195454840\nTest: Verify with Sidecar + Demo app\nChange-Id: I60d9217d061ee53421661bde496b5fb320f01b87\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bc5ace8a3acff18a777093261ab96829a5b2eaee",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/ActivityRecord.java",
      "new_id": "a45e8e08776c5eb5fab48ac2aa54843347a41949",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/ActivityRecord.java"
    },
    {
      "type": "modify",
      "old_id": "41f2246858b4402ed9af24ed71cfa6e6aa059080",
      "old_mode": 33188,
      "old_path": "services/tests/wmtests/src/com/android/server/wm/ActivityRecordTests.java",
      "new_id": "54406c2b21aad7ba78b650ba2f019f30d01e7d9b",
      "new_mode": 33188,
      "new_path": "services/tests/wmtests/src/com/android/server/wm/ActivityRecordTests.java"
    }
  ]
}
