)]}'
{
  "commit": "717bc28fc5959c0edb2bbd86692ba5164893f719",
  "tree": "9f55d492e1032f4224dc3420345868cf8d613456",
  "parents": [
    "0b3f254028404b4772e02f9d1cdfcefba0e264b4"
  ],
  "author": {
    "name": "Eric Laurent",
    "email": "elaurent@google.com",
    "time": "Fri Aug 21 17:10:39 2020 -0700"
  },
  "committer": {
    "name": "Eric Laurent",
    "email": "elaurent@google.com",
    "time": "Fri Aug 28 22:51:36 2020 +0000"
  },
  "message": "audio flinger: handle race condition in AudioRecord creation\n\nA rare race condition can cause a failure to create an AudioRecord if\ntwo creation requests are processed concurrently and thread preemption happens\nat a specific time within the sequence between audioflinger and\naudio policy manager.\n\nThis CL implements a retry mechanism on client side when this particular failure\nis detected.\n\nBug: 161656190\nTest: Regression tests for audio capture use cases.\nTest: CTS tests for AudiRecord\nChange-Id: I155ee4899baeec21e10a1141cb9e323cbc8aa23b\n(cherry picked from commit d52a28ca2c19db7d10bc6c4639a8bd78e1afd5f1)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "df47def100341920afc6eb0bc17e7a4f718b7aae",
      "old_mode": 33188,
      "old_path": "media/libaudioclient/AudioRecord.cpp",
      "new_id": "9568e835060c5ed2b1816ac5d88f2e6e4b3e237b",
      "new_mode": 33188,
      "new_path": "media/libaudioclient/AudioRecord.cpp"
    },
    {
      "type": "modify",
      "old_id": "f0142096e506ed5a1d58da21a58f34d2a42a543c",
      "old_mode": 33188,
      "old_path": "services/audioflinger/AudioFlinger.cpp",
      "new_id": "2ef64d64b028b99d6aaade218264e5774f67980e",
      "new_mode": 33188,
      "new_path": "services/audioflinger/AudioFlinger.cpp"
    },
    {
      "type": "modify",
      "old_id": "2af27d8a308ec4948634b4b47bdbb23b8d08e7f4",
      "old_mode": 33188,
      "old_path": "services/audioflinger/Threads.cpp",
      "new_id": "5279bb3ec7658b5e981c986d55dab70781e1ec3a",
      "new_mode": 33188,
      "new_path": "services/audioflinger/Threads.cpp"
    },
    {
      "type": "modify",
      "old_id": "126015ffc74230445fab32690cfb81bf5326692f",
      "old_mode": 33188,
      "old_path": "services/audioflinger/Tracks.cpp",
      "new_id": "8947106fe0397988867577ba6cd4f80dd708b12f",
      "new_mode": 33188,
      "new_path": "services/audioflinger/Tracks.cpp"
    },
    {
      "type": "modify",
      "old_id": "c5c13e9a5aac0e148d3bba47a516f7fc1afd0286",
      "old_mode": 33188,
      "old_path": "services/audiopolicy/managerdefault/AudioPolicyManager.cpp",
      "new_id": "65220160cf88ac3207696fffcfa180798ba65b22",
      "new_mode": 33188,
      "new_path": "services/audiopolicy/managerdefault/AudioPolicyManager.cpp"
    }
  ]
}
