)]}'
{
  "commit": "cfeaf6a8b043ddeb2eba6371d0021d82ed00f460",
  "tree": "c241a6e98fb56a04115b1e16627b7d86f45b01e5",
  "parents": [
    "8aacb8172470090ff17ea81e405c22206117cf0f"
  ],
  "author": {
    "name": "Jiaming Liu",
    "email": "jiamingliu@google.com",
    "time": "Sat Sep 02 02:04:47 2023 +0000"
  },
  "committer": {
    "name": "Cherrypicker Worker",
    "email": "android-build-cherrypicker-worker@google.com",
    "time": "Wed Sep 06 04:26:52 2023 +0000"
  },
  "message": "Use rotation from WindowConfiguration to rotate FoldingFeature to avoid race condition\n\nWe used DisplayInfo.rotation to rotate the FoldingFeature while using WindowConfiguration to validate the rotated FoldingFeature. Based on logs in b/295277561 and b/297215998, the rotations in WindowConfiguration and DisplayInfo were out of sync and caused validation failure and app crash. Using the\nrotation from WindowConfiguration for feature rotation should prevent this issue.\n\nBug: 295277561\nBug: 297215998\nBug: 297153447\nTest: atest CtsWindowManagerJetpackTestCases\nTest: atest WMJetpackUnitTests:ExtensionHelperTest\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6867926666be48de83363a23cd7aeb009867f407)\nMerged-In: Iedb1365d97bcfe14643199a4000472aadeee8282\nChange-Id: Iedb1365d97bcfe14643199a4000472aadeee8282\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2eacaaf28bbaa9c38a114e71663bddfa42c3bcef",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Jetpack/src/androidx/window/extensions/layout/WindowLayoutComponentImpl.java",
      "new_id": "0000aa4cdfd89b88c91093cd2b573ae10b53a6f5",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Jetpack/src/androidx/window/extensions/layout/WindowLayoutComponentImpl.java"
    },
    {
      "type": "modify",
      "old_id": "5bfb0ebdcaa80fa80d8acb3019c4682fb4f2b410",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Jetpack/src/androidx/window/sidecar/SampleSidecarImpl.java",
      "new_id": "15a329bd9509d75dd091338707f67e3080ae72ef",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Jetpack/src/androidx/window/sidecar/SampleSidecarImpl.java"
    },
    {
      "type": "modify",
      "old_id": "9e2611f392a362487f4111b36be5b46c82c5b0ce",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Jetpack/src/androidx/window/util/ExtensionHelper.java",
      "new_id": "6b193fc5393546fb466eb40c2c26a975776ba96a",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Jetpack/src/androidx/window/util/ExtensionHelper.java"
    },
    {
      "type": "modify",
      "old_id": "d189ae2cf72eb7e0c0871e2ebddfe09a90ac049f",
      "old_mode": 33188,
      "old_path": "libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/WindowExtensionsTest.java",
      "new_id": "a0590dc2c83251f7f016e85b7abb74ae6053ea59",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/WindowExtensionsTest.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ae783de228fb8edf6fd5198d97bb96047ad97b8c",
      "new_mode": 33188,
      "new_path": "libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/util/ExtensionHelperTest.java"
    }
  ]
}
