)]}'
{
  "commit": "0c280aa1bdef93e318fb987e0cd239c1bcf0d438",
  "tree": "25244e9f276ed039dc176973fe4277de186d671f",
  "parents": [
    "3305c11ac31fc595a3bb313e765aa4b2f6dcfe71"
  ],
  "author": {
    "name": "François Gaffie",
    "email": "francois.gaffie@renault.com",
    "time": "Wed Jul 25 10:02:15 2018 +0200"
  },
  "committer": {
    "name": "Eric Laurent",
    "email": "elaurent@google.com",
    "time": "Thu Jan 10 10:46:08 2019 -0800"
  },
  "message": "AudioFlinger: update cache in/out configuration on device port id change\n\nIn case of creation of AudioPatch with the same device type but a different\ndevice id (typically: a device has been connected / disconnection, so\nremoved and re-attached to its corresponding module, a new Id is assigned),\nthe cache configuration of the clients is not updated.\nIf the client calls getRoutedDevice, the id will not be up to date and even\nmay refer to unknown port id.\n\nTest: as follows:\n1 / Calls setDeviceConnectionState AUDIO_DEVICE_OUT_HDMI state\u003d1 mame\u003dy_dummy_hdmi @\u003dmy_dummy_hdmi\n2 / Plays explicititely on this device (by getting the id\n\tAudioSystem::listAudioPorts\n\n2 / Calls setDeviceConnectionState AUDIO_DEVICE_OUT_HDMI state\u003d0\n\n3 / Calls setDeviceConnectionState AUDIO_DEVICE_OUT_HDMI state\u003d1  mame\u003dy_dummy_hdmi @\u003dmy_dummy_hdmi\n    Plays explicititely on this device (by getting the id\n        AudioSystem::listAudioPorts\n\n4 / Calls AudioTrack-\u003egetRoutedDeviceId()\n\tThe id shall match the second one, NOT the first one\nthat does not exist any more\n\nChange-Id: I608ed8d78907b5ea1c9b6ef13c6cbfe528d88f44\nSigned-off-by: François Gaffie \u003cfrancois.gaffie@renault.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c6941c045de15d87ac121f39d30cbaf145adf6df",
      "old_mode": 33188,
      "old_path": "services/audioflinger/Threads.cpp",
      "new_id": "989e6eb8f1d668e1b4afd0eca0dd4d5a4fddb683",
      "new_mode": 33188,
      "new_path": "services/audioflinger/Threads.cpp"
    },
    {
      "type": "modify",
      "old_id": "e8b2158e7137ed918b35ef47296e6c61bf7687c7",
      "old_mode": 33188,
      "old_path": "services/audioflinger/Threads.h",
      "new_id": "5d06773a0e3df6c86abc0d81af41983b761661b1",
      "new_mode": 33188,
      "new_path": "services/audioflinger/Threads.h"
    }
  ]
}
