)]}'
{
  "commit": "f94e099ed8d65808e312a0d6cac19283f5ffcd40",
  "tree": "96a47d4173f4ac22c6c42e4869fddaead5188117",
  "parents": [
    "4a78cc84972500fb329c6103a59558677cbdeb25"
  ],
  "author": {
    "name": "Winson Chung",
    "email": "winsonc@google.com",
    "time": "Tue Jul 02 23:43:06 2024 +0000"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Fri Sep 20 18:36:14 2024 +0000"
  },
  "message": "Add mechanism for a task to be hidden as a part of starting a drag\n\n- This change adds a new DRAG_FLAG_HIDE_CALLING_TASK_ON_DRAG_START\n  (restricted to the assistant uid) which will allow the calling task\u0027s\n  window to hide it\u0027s surface for the duration of the drag.  As a part\n  of setting this flag, the return/cancel animations are also adjusted\n  to fade out in-place.\n\n  In order to handle most of this logic in the shell instead of core,\n  the drag \u0026 drop flow will notify (only) the shell of the drag source\n  task id (if it has requested the flag to hide), and the shell will\n  in turn hide the task surface and upon successful drop to invoke\n  splitscreen, the shell will reorder the task to the back. If the drag\n  is not handled or canceled, the task surface is made visible again.\n\nBug: 350016003\nFlag: EXEMPT bugfix\nTest: Drag floating window to split, ensure it hides and restores if the\n      drag is canceled\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b51bba4b02d02b1f3cbd244d956e1231dc5a4b65)\nMerged-In: Id96ef40a6f74892eac22b9ef3c04107b1b07cfb2\nChange-Id: Id96ef40a6f74892eac22b9ef3c04107b1b07cfb2\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5953890ad85f549e90dd8e768d4aac7711364228",
      "old_mode": 33188,
      "old_path": "core/java/android/content/ClipDescription.java",
      "new_id": "93724bb4949d78321056e163a44fbe2bfbf22cc9",
      "new_mode": 33188,
      "new_path": "core/java/android/content/ClipDescription.java"
    },
    {
      "type": "modify",
      "old_id": "9bc15112debc87d94f47cee47c0c32810df7afe5",
      "old_mode": 33188,
      "old_path": "core/java/android/view/View.java",
      "new_id": "2ae5a442355ca51202dbc74c3afe74f151091124",
      "new_mode": 33188,
      "new_path": "core/java/android/view/View.java"
    },
    {
      "type": "modify",
      "old_id": "bebfa908e19a87503d7bc2d5ced207a23f5598ee",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Shell/src/com/android/wm/shell/ShellTaskOrganizer.java",
      "new_id": "863186551f69f74d17ffadc27049a9dd5722c1e8",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Shell/src/com/android/wm/shell/ShellTaskOrganizer.java"
    },
    {
      "type": "modify",
      "old_id": "a4813a3ebfd8bc62116f15d00f7bc8e389c7408d",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/DragAndDropController.java",
      "new_id": "5d32d482995fe8bf3f4e58b34cd7ce980824aa14",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/DragAndDropController.java"
    },
    {
      "type": "modify",
      "old_id": "b1882fcae24229f1b2f2386c45b1e05cc101c45b",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/DragAndDropPolicy.java",
      "new_id": "5644155d74f8f88b061df7165bf062689f14550a",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/DragAndDropPolicy.java"
    },
    {
      "type": "modify",
      "old_id": "5df83be8622b47029500e94f47ceafca166a5ab6",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/DragLayout.java",
      "new_id": "d64b8d6c184408ab8c8e36bbee355571ecb68d87",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/DragLayout.java"
    },
    {
      "type": "modify",
      "old_id": "41a50b1c8e8f6fee0b72769537b77521bda009d0",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/DragSession.java",
      "new_id": "9a652f21c0be8dc47de38434d43f5598e2ad71ee",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/DragSession.java"
    },
    {
      "type": "modify",
      "old_id": "03c8cf8cc7956be3a3d0c047360e2842abc77603",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Shell/src/com/android/wm/shell/recents/RecentTasksController.java",
      "new_id": "39225437994c687589bcecf5fba16e7bfbdbe614",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Shell/src/com/android/wm/shell/recents/RecentTasksController.java"
    },
    {
      "type": "modify",
      "old_id": "dd219d32bbaa07586d04f7a3951b572e95cbec32",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/SplitScreenController.java",
      "new_id": "36cc9101b0dcce29e8f2b0a9bafdd49095215aa4",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/SplitScreenController.java"
    },
    {
      "type": "modify",
      "old_id": "4287daa03223834da7b44e2c056f32bd0cbd048f",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java",
      "new_id": "839700e5b8a236eb20623261cd80e6fd47605a89",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java"
    },
    {
      "type": "modify",
      "old_id": "582fb91559e5f9cbfb2998bfc142aef7c9a070fe",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/DragAndDropPolicyTest.java",
      "new_id": "97fa8d6ceca97cb824020ee9d47621ea5592cbe3",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/DragAndDropPolicyTest.java"
    },
    {
      "type": "modify",
      "old_id": "3c387f0d7c343a01363f4af04f8294240a8247e9",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/SplitScreenControllerTests.java",
      "new_id": "5b95b1588814263841fce22f3b62e2a44946d065",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/SplitScreenControllerTests.java"
    },
    {
      "type": "modify",
      "old_id": "30f2d0d64d13896681a744851d0082ca914bae05",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/DragDropController.java",
      "new_id": "6abef8b9a0485f730bc26a777d8f1e32d8244121",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/DragDropController.java"
    },
    {
      "type": "modify",
      "old_id": "e3827aa86d9e59900b85bf0e95992b719e80cd70",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/DragState.java",
      "new_id": "5a1279024eb56d21df06a012d481a196dc4dee8e",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/DragState.java"
    },
    {
      "type": "modify",
      "old_id": "f2dc55f38bc3650b9d3bcbcf364fca47c567a81e",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/SafeActivityOptions.java",
      "new_id": "2d961e1f0766096cd9b9be59b13020f41e1391bd",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/SafeActivityOptions.java"
    },
    {
      "type": "modify",
      "old_id": "0562cd979cb8447d46e362f011856b037e3dba20",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/Session.java",
      "new_id": "4cd27bcdb616996734fba7d9d3520fa8fcf48351",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/Session.java"
    },
    {
      "type": "modify",
      "old_id": "7faf2aacc0bccfb72108c7e277b3a4d21d6df2e3",
      "old_mode": 33188,
      "old_path": "services/tests/wmtests/src/com/android/server/wm/DragDropControllerTests.java",
      "new_id": "8cdb574a967beb9965f44b307091185b16173b62",
      "new_mode": 33188,
      "new_path": "services/tests/wmtests/src/com/android/server/wm/DragDropControllerTests.java"
    }
  ]
}
