)]}'
{
  "commit": "f4050fcda190940586f18244357892bd9488c4eb",
  "tree": "0e2400bcccfc1ded8e4f08f6ca8bccdea216e990",
  "parents": [
    "5338ef2902a0a6b407ebd12bf77a1aa468a3431c"
  ],
  "author": {
    "name": "Austin Borger",
    "email": "borgera@google.com",
    "time": "Tue Nov 23 23:46:35 2021 +0000"
  },
  "committer": {
    "name": "Austin Borger",
    "email": "borgera@google.com",
    "time": "Thu Dec 02 18:28:50 2021 +0000"
  },
  "message": "CtsVerifier / Camera video test: Scale the video preview when rotation is 90 or 270.\n\nFoldable devices break assumptions made by the camera video test, namely that mPreviewRotation is\nalways either 0 or 180. It is possible on a foldable device to change from portrait to landscape\nwhile the camera sensor orientation remains the same, for example by unfolding the device. This has\nthe effect of stretching the camera preview view, since the reported video dimensions will not\nreflect the fact that the video is being saved with a rotation matrix. This patch will scale the\npreview such that the correct aspect ratio is displayed.\n\nBug: 205504581\nTest: Ran the Camera Format tests on all cameras on all orientations.\nChange-Id: I5d56531576d89e78f5adc239331d7eff95ffe3c1\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1e539ec73528617f4c0a3ebb520feafdab56dd53",
      "old_mode": 33188,
      "old_path": "apps/CtsVerifier/src/com/android/cts/verifier/camera/video/CameraVideoActivity.java",
      "new_id": "d508f7a3fa0117598e1222241e37757409e411f9",
      "new_mode": 33188,
      "new_path": "apps/CtsVerifier/src/com/android/cts/verifier/camera/video/CameraVideoActivity.java"
    }
  ]
}
