am 544ff558: am 29c99aaa: Merge "Added check to make orientation calculations more robust" into gingerbread

* commit '544ff558a80912d968570494363cea6540c08dd3':
  Added check to make orientation calculations more robust