Fix A2DP Offload lockup when RE-STARTING

The A2DP Offload vendor lib can cause a lockup in the corner case
when a START event is received while already in STARTING state
resulting in a mediaserver crash.
- Refactor state machine code.
- Move offload session configuration to a helper func.

Change-Id: I93dc2ebd3910c8302c3d0d5b1ee912cb7244b98b
Signed-off-by: Sridhar Vashist <svashist@motorola.com>
1 file changed
tree: 2c83e987d97339fea27621f62eba1c75f1c853e0
  1. Android.mk
  2. conf/
  3. gen-buildcfg.sh
  4. include/
  5. src/
  6. vnd_buildcfg.mk