)]}'
{
  "commit": "8f2f4e913d6cf4332d75ce808feb818cf73cdc8d",
  "tree": "7e435fda8a14b7645145a189bb8cff2748f95407",
  "parents": [
    "8462a0749eaf7d799b5d36e8c0858a7da789881a"
  ],
  "author": {
    "name": "Eric Laurent",
    "email": "elaurent@google.com",
    "time": "Mon May 17 14:42:27 2021 +0200"
  },
  "committer": {
    "name": "Eric Laurent",
    "email": "elaurent@google.com",
    "time": "Mon May 17 14:42:27 2021 +0200"
  },
  "message": "audio policy: fix call audio switching from BT SCO to earpiece\n\ncommit c0697594 made that A2DP is unconditionally used for phone\nstrategy when connected. This creates a problem when disabling SCO\nas the call is now routed to A2DP instead of earpiece by default which\nchanges from the expected route and does not work if the system suspends\nA2DP audio when a call starts.\n\nRestore previous policy by removing A2DP devices from eligible\ndevices for phone strategy when in call. This preserves the fix for\nb/184771057 by still routing voice mails to A2DP when connected.\n\nBug: 188020987\nBug: 184771057\n\nTest: manual call audio regression.\nChange-Id: Ibab19c6150b84f8e8a46e4389b66f20cff205c10\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f67ffc1c57e8020e58a0a3ce4d92c3f34d8fbeaa",
      "old_mode": 33188,
      "old_path": "services/audiopolicy/enginedefault/src/Engine.cpp",
      "new_id": "27a7ac47e2b6f601d65ae7c34c904b309bf39912",
      "new_mode": 33188,
      "new_path": "services/audiopolicy/enginedefault/src/Engine.cpp"
    }
  ]
}
