From 060f98e0627f450d948856a7027e66a12bc6362e Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Thu, 27 Aug 2009 09:16:18 -0700 Subject: [PATCH] Fix issue 2080258: audio routing is not reset when call ends. Modify AudioPolicyManager::setPhoneState() to force a routing command to audio output when call ends or starts even if the same device is selected. Implement AudioHardware::setMode() to force routing change to be taken into account when phone state changes.