Adated to changes in media-api (MediaSessionTerminatedListener)

Change-Id: Ifdd77a134943f422c760c339abcb33187a585d3c