)]}'
{
  "commit": "4b68b00993849b6a7f0e6d075bc2c8bb2e184e61",
  "tree": "1db1cc7e21a3f79516e8496fc635c386e6e4c889",
  "parents": [
    "ff11233f87c73a9c3905b6e1eb455fc314e85a0d"
  ],
  "author": {
    "name": "Devin Moore",
    "email": "devinmoore@google.com",
    "time": "Fri Feb 23 19:19:38 2024 +0000"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Thu Jun 06 00:18:30 2024 +0000"
  },
  "message": "libmediatranscoding: handle death recipient cookie ownership differently\n\nThe ownership of the death recipient cookie is now limited to the\nTranscodingResourcePolicy object and the binderDied callback.\nThey both must be able to delete the cookie object and they both must be\naware of it already being deleted.\n\nIn all cases, the TranscodingResourcePolicy object that needs to be\nunregistered will outlive the cookie and the death recipient.\n\nCalling unlinkToDeath is unneccessary because the last strong ref to the\nbinder that was linked to death is removed in the unregisterSelf method\nwhich will unlink the binder and death recipient.\n\nTest: atest CtsMediaTranscodingTestCases MediaSampleReaderNDKTests\nTest: adb shell kill -9 `pid  media.resource_observer`\nTest: delete mResourcePolicy.get() to force destructor after linkToDeath\nBug: 319210610\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0c674f5ff68daa64b90e1a234061ba9bebe6173c)\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3bd045d3543190b1e8d2d26743356ad657f25e33)\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:13ed07dee27c3affa4511f02c612701d6cbf603a)\nMerged-In: I8e6ba40fe3da30bf8753e7a16ad5c8cd5dfda40b\nChange-Id: I8e6ba40fe3da30bf8753e7a16ad5c8cd5dfda40b\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "af53f646717b13eeb17f712b90c65d8a1beac026",
      "old_mode": 33188,
      "old_path": "media/module/libmediatranscoding/TranscodingResourcePolicy.cpp",
      "new_id": "6a0c09a20ac2e5e82ea34ca46cea99d79486ea7b",
      "new_mode": 33188,
      "new_path": "media/module/libmediatranscoding/TranscodingResourcePolicy.cpp"
    },
    {
      "type": "modify",
      "old_id": "ee232e755134af40abcc74ecd58c55686f8bf24b",
      "old_mode": 33188,
      "old_path": "media/module/libmediatranscoding/include/media/TranscodingResourcePolicy.h",
      "new_id": "4d762b583222482f56db43fc5fd440f4ac6f489d",
      "new_mode": 33188,
      "new_path": "media/module/libmediatranscoding/include/media/TranscodingResourcePolicy.h"
    }
  ]
}
