)]}'
{
  "commit": "a2eaf83a719d5fff5ee72a488b556e1cbb252fd3",
  "tree": "98666fd2015dd17be572377e653b4e9bacbbb8cc",
  "parents": [
    "6a930e0643fc65676bd63321f8c9ae1bf1c34c1e"
  ],
  "author": {
    "name": "Winson Chung",
    "email": "winsonc@google.com",
    "time": "Wed Jun 23 22:05:51 2021 -0700"
  },
  "committer": {
    "name": "Winson Chung",
    "email": "winsonc@google.com",
    "time": "Fri Jun 25 22:10:45 2021 +0000"
  },
  "message": "Fix flash when canceling the recents animation with a screenshot\n\n- When canceling because of starting home, use the screenshot call to\n  allow Launcher to handle the cancel more cleanly\n- Since the cancel+screenshot path was added, we no longer cancel\n  on root task order change (we just get onTaskAppeared now), it\u0027s\n  purely a deferred path for the runner to handle the cancel in a clean\n  way. So instead of having a separate animator, just add a screenshot\n  surface to the existing leash, and clean up everything when the\n  runner finishes the recents animation. This prevents the issue where\n  transferring the animation causes the task to be reparented from the\n  leash and made immediately visible (and fullscreen)\n- Remove some unused code\n\nFixes: 185643608\nTest: atest RecentsAnimationControllerTests\nTest: Manually enable live-tile for 2/3 button, tap home and ensure\n      there\u0027s no flash\nChange-Id: I57775e5df55ae80931ad02c21f190f29ffa76881\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "01ee3be08f5f3f0c9716236b15506413e2d20bb5",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/ActivityTaskManagerInternal.java",
      "new_id": "1759cdeb60d7fa6c3b5fa5ad7fcf6841ea872932",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/ActivityTaskManagerInternal.java"
    },
    {
      "type": "modify",
      "old_id": "5e75cebc322dfe0bec0f230ddec55f503fa259fe",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/ActivityTaskManagerService.java",
      "new_id": "7bd33741311aed06eb5faa152de6d10d81bd3879",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/ActivityTaskManagerService.java"
    },
    {
      "type": "modify",
      "old_id": "a7e633527b5413fecc5d1af053649101650fbcc5",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/RecentsAnimationController.java",
      "new_id": "710dd552f72d2cb580fcd26244c014a5c69efd23",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/RecentsAnimationController.java"
    },
    {
      "type": "modify",
      "old_id": "ea80b8bb52869215b57ce997417fd65504849b6e",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/RootWindowContainer.java",
      "new_id": "b75d5009c48ee3835b0176ad0f51972b14dc09fc",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/RootWindowContainer.java"
    },
    {
      "type": "delete",
      "old_id": "7e992ac263bc2eca042e90ddd21db5293394c564",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/TaskScreenshotAnimatable.java",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "afd0ecf0fdee5088aec9048b2f8f8aa732cc4326",
      "old_mode": 33188,
      "old_path": "services/tests/wmtests/src/com/android/server/wm/RecentsAnimationControllerTest.java",
      "new_id": "03944172db7c94eaec649b4fadf51d1af82b514a",
      "new_mode": 33188,
      "new_path": "services/tests/wmtests/src/com/android/server/wm/RecentsAnimationControllerTest.java"
    }
  ]
}
