Change session API to support location inside a task.

  Bug: 13325568

Change-Id: I72f69803ab304d198e8c74c194a36bd0820ac187
7 files changed