audioflinger: Fix to release wakelock after closeoutput

-In DirectTrack destructor, closeOutput is called after
releaseWakelock is done. This may sometimes result in
power collapse happening even before actual close
sequence of Audio path is completed and will result
in high power consumption.
-Release wakelock only after closeOutput is done
in directtrack destructor.

(cherry picked from commit fb48938f73e335ac66c83e6adba96431e050ec94)

Change-Id: Ib8d05a38f28d7e2f0bdf9e420e5db526cf874bc6
CRs-Fixed: 430786
stagefright: add support for samsung proprietary omx

Change-Id: Iab0d014c3c237871e46135aecbbcea99a58f87e7
FM Radio: Add support for FM Radio in Android

Creating interface and framework for using FM Radio
RX and TX from different vendors.

Change-Id: I1a71aed01bfffdddfabf1cdfbfa3707cb1ed016b
Signed-off-by: Benn Porscke <benn.porscke@stericsson.com>
Merge "audioflinger: Fix to release wakelock after closeoutput" into jellybean
av: add support for ST-ERICSSON audio

- add inputClientId
- Add support for update of audio output latency

Change-Id: Ia56a051b77343fc8b30e090c0530ebb75ec6b164
av:  add support for ST-ERICSSON media

- ST-Ericsson audio support for multimedia
- Add support for ST-Ericsson native pixel formats and conversion
- ST-Ericsson video support for multimedia

ported from
https://github.com/CyanogenMod/android_frameworks_base/commit/a22b34c43efb805e5ec10230b1b089c781366120
https://github.com/CyanogenMod/android_frameworks_base/commit/95961de8a87534381756eefcbaa6fce8e9047467

Change-Id: I2b0dd8c4ab6623ef0dbad43912dbc3e6c41255fd
Merge branch 'jellybean' of https://github.com/CyanogenMod/android_frameworks_av into jellybean-cm

Conflicts:
	services/audioflinger/AudioFlinger.h