)]}'
{
  "commit": "9519757d99f5e709cb623b5abcd474e44bc084e1",
  "tree": "d9d9a4339b8a11785f4e64fc15f05340083dd1ee",
  "parents": [
    "dd337315841e1f9b85cecd5328a62958db130745"
  ],
  "author": {
    "name": "John Reck",
    "email": "jreck@google.com",
    "time": "Thu Jul 06 10:40:31 2023 -0400"
  },
  "committer": {
    "name": "John Reck",
    "email": "jreck@google.com",
    "time": "Thu Jul 06 10:42:30 2023 -0400"
  },
  "message": "Fix inSampleSize !\u003d 1 gainmap decoding\n\nWhen decoding with a sample size we cannot use the width/height of\nthe subset to allocate the gainmap bitmap as that will be scaled\nby the sample size.\n\nInstead split out the destination width/height from the decode\nsubset to avoid trying to pack too many meanings into a single rect\n\nFixes: 289103338\n\nTest: manual inspection of inSampleSize 1, 2, and 3 with \u0026 without\ninBitmap being specified\n\nChange-Id: I0685579d6835a6a06d73ef50c59b08611ca80211\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4c9a23d3fde0798dadb222862ed7d8b9a3956554",
      "old_mode": 33188,
      "old_path": "libs/hwui/jni/BitmapRegionDecoder.cpp",
      "new_id": "740988f77270859f1fdce6a675ae266b473afe76",
      "new_mode": 33188,
      "new_path": "libs/hwui/jni/BitmapRegionDecoder.cpp"
    }
  ]
}
