From 920fea9258d10048353c2b52f172ad9dc2f1eaad Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Sat, 31 Oct 2009 06:38:49 -0700 Subject: [PATCH] Fix issue 2226658: Audio path not updated when a headset is plugged or unplugged while recording. Modified AudioPolicyManager::setDeviceConnectionState() so that the device on active audio input is updated when a device is connected or disconnected.