SCO: Resume A2DP when call ended and SCO is not connected

- Fix A2DP suspended, but did not resume after phone call
  if SCO was disconnected during this call.
- Add a condition to resume A2DP if phone state changed
  to idle and SCO is not connected.

Bug: 80118967
Test: Manual test:
        1. Make a phone call while music is playing.
        2. Switch audio path to speaker.
        3. Hang up phone call.

Change-Id: Icde281aedfc4721910e1c57a4f6c604e4fee5e83
(cherry picked from commit 0f7d72610b341c2ba4a755c3354ea11865c4026a)
1 file changed