Revert "Revert "Fix decoder EOS handling""

This reverts commit 2a4473411bc5b335da4cb9ec0e021fc3d0917737.
Revert "audioflinger: only exchange AUDIO_SOURCE_HOTWORD when using pre-kitkat audio-policy"

This reverts commit 5ef187ec1ed87e9f7cf1bdc0937bcb0fdc0db3c7.
Revert "Revert "audio:Avoid AudioTrackThread if Track creation fails""

This reverts commit d4bd75474c369fe8e4fddc9331577dcf379b78a1.
Revert "libstagefright: Add support for custom LPA buffer size in legacy LPAPlayer"

This reverts commit 83caf78c37fa60c36a4fd09946608b615fe1d938.
Revert "libstagefright: Enable meta mode for 7x27a video encoder"

This reverts commit dae496a34510e0319323923d55741f685197da3c.
Revert "libstagefright: refactor Legacy LPA makefile"

This reverts commit b6b4398c4c6fc72faf61917c5580a3dfc6c4be91.
Revert "stagefright: Set bit_width if ENABLE_AV_ENHANCEMENTS is defined"

This reverts commit 1c4d08b136b85e55f9ad3575f1c94fdbf286102b.