From 52af604c93c5988e116a83b59e9e0bc5b7cff0d7 Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Fri, 16 Oct 2009 09:30:24 -0700 Subject: [PATCH] do not merge - Fix for issue 2184627 cherry picked from eclair-mr2 Bluetooth A2DP suspend-resume improvements. This change will reduce the occurence rate of A2DP sink suspend resume failures observed in issues 2184627, 2181005 and possibly 2189628. Suspend A2DP output when phone state is not NORMAL and not only when it is RINGTONE. Update A2DP suspend state when an A2DP or SCO device is connected or disconnected while phone state is not NORMAL.