)]}'
{
  "commit": "2554fe325afb40f42905edeb30b02fc8c28a47e5",
  "tree": "c0c91873c2a9fddb3b22b9f2dd7b453db092db3b",
  "parents": [
    "b31e95afe51d0eb22b4b544450066caab92a1f8f"
  ],
  "author": {
    "name": "Jorge Gil",
    "email": "jorgegil@google.com",
    "time": "Thu Aug 24 20:33:07 2023 +0000"
  },
  "committer": {
    "name": "Jorge Gil",
    "email": "jorgegil@google.com",
    "time": "Thu Aug 24 21:33:57 2023 +0000"
  },
  "message": "Reland \"Dismiss freeform tasks occluding keyguard in folded transitions\"\n\nThis change is an enhacement of\nIdac9e012d25c50b73eba8afe9088d77043c68a85 where the \"dismiss\nfreeform\" behavior when a task occludes the Keyguard was moved from\nWM Core to WM Shell. That changed looked for transitions requested with\ntransit type OCCLUDE_KEYGUARD as a signal to change windowing mode\nto fullscreen. However, it didn\u0027t cover the cases where a transition\nis already collecting such as opening a showWhenLocked activity\ndirectly into freeform mode over the keyguard, which ends up being of\ntransit type OPEN.\n\nTo cover cases like that, two changes are made:\n 1) Add the transition flags to TransitionRequestInfo and use the flags\nto check whether there\u0027s an occluding task that needs to be dismissed.\nThis should cover cases where the transit type is not KEYGUARD_OCCLUDE\nbut the keyguard visibility change happens early enough that the flag\nis added to the collecting transition before the transition request is\nsent to Shell.\n 2) Add the dismiss behavior to the finish WCT in\nKeyguardTransitionHandler to cover cases where the keyguard visibility\nupdate happens after the transition request has already been sent to\nShell but before the transition is ready.\n\nBug: 261765739\nBug: 293219242\nChange-Id: Id614b5a103b6eed510ff72dd2226740a1967d101\nTest: atest ActivityVisibilityTests\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "14046945ede0eb5ed531f0e7ba492eef49937a5d",
      "old_mode": 33188,
      "old_path": "core/java/android/window/TransitionRequestInfo.java",
      "new_id": "edea2978c3406bd6d98072cc9ae13114bdfe3689",
      "new_mode": 33188,
      "new_path": "core/java/android/window/TransitionRequestInfo.java"
    },
    {
      "type": "modify",
      "old_id": "2ef92adb90f55722406fe4e4a42fa93c4f6237c2",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Shell/src/com/android/wm/shell/keyguard/KeyguardTransitionHandler.java",
      "new_id": "13c0ac4bbaa7dac559c9ac9bdf5657aad72fe11c",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Shell/src/com/android/wm/shell/keyguard/KeyguardTransitionHandler.java"
    },
    {
      "type": "modify",
      "old_id": "b4d0a31dc8c1845455c331bf96f0e7b8014310b6",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Shell/src/com/android/wm/shell/transition/Transitions.java",
      "new_id": "c74b3f30e52dd94dd1927db467bce894837fbc8b",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Shell/src/com/android/wm/shell/transition/Transitions.java"
    },
    {
      "type": "modify",
      "old_id": "63a685e0f0e610f2582aca11207c97dc50ae3644",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/unfold/UnfoldTransitionHandlerTest.java",
      "new_id": "1d94c9c31de25de613190603471e289d24fb4883",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/unfold/UnfoldTransitionHandlerTest.java"
    },
    {
      "type": "modify",
      "old_id": "3eabbe763eafcb0bee0be2ea1dba1049c84bf11a",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/TransitionController.java",
      "new_id": "75458302586d4269b96a13c25ec6f9b882987963",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/TransitionController.java"
    }
  ]
}
