am 54717534: Merge "Add getTerminalPosition." into jb-mr1-dev

* commit '54717534b1164c575a14a4a117284e72c6cd0ee0':
  Add getTerminalPosition.