am a4ad2928: Merge "getDuration can be only called after prepared."

* commit 'a4ad2928eb47974e922191dd008dfa98e3711ca0':
  getDuration can be only called after prepared.