)]}'
{
  "commit": "2a080b6b23fdf781d4e70228d34d752378e6841c",
  "tree": "f4dff1d72fb4f109e1047135f2ca5d8d12c7042a",
  "parents": [
    "b218143d95d241509954a82050c747ee18bdffc8"
  ],
  "author": {
    "name": "Alec Mouri",
    "email": "alecmouri@google.com",
    "time": "Wed Sep 14 22:24:17 2022 +0000"
  },
  "committer": {
    "name": "Winson Chung",
    "email": "winsonc@google.com",
    "time": "Wed Apr 05 16:42:33 2023 +0000"
  },
  "message": "Remove coordinate swapping in region sampling\n\nCaptured screens for region sampling were originally rendered\nupside-down, which required swapping coordinates to sample from the\ncorrect area in the output buffer. Since then, several fixes to the\nscreenshot path have landed, which treat screen orientation\nconsistently, so the captured images are no longer upside-down. But,\nthe coordinate swapping was never removed. Remove it now, as sampling\nduring landscape is now broken.\n\nBug: 133849373\nBug: 241967077\nFixes: 275661349\nTest: Split screen in landscape with settings app in dark mode,\ncalculator in light mode, and trigger back gestures\n\nChange-Id: I52c65032d33d01a4407dc1b30215e7edac6eb1ea\n(cherry picked from commit 439b60968f1fe544b79a5c5ba4657fca9e82b54a)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2487dbd7939597e8480fbf63dc120e2d068fd19e",
      "old_mode": 33188,
      "old_path": "services/surfaceflinger/RegionSamplingThread.cpp",
      "new_id": "e126931e6c5a6db62f4113a996f29427f9e07d3c",
      "new_mode": 33188,
      "new_path": "services/surfaceflinger/RegionSamplingThread.cpp"
    },
    {
      "type": "modify",
      "old_id": "f19e55409ccf8e8d320c755ad48027bc0cb23777",
      "old_mode": 33188,
      "old_path": "services/surfaceflinger/tests/unittests/RegionSamplingTest.cpp",
      "new_id": "409e1ef5d702f920a99008c4f53271261cabe533",
      "new_mode": 33188,
      "new_path": "services/surfaceflinger/tests/unittests/RegionSamplingTest.cpp"
    }
  ]
}
