am d4a37518: Fix wrong orientation after suspend and resume.

Merge commit 'd4a37518c3b73fcf1860ab10fd3bb7e7ceffba99'

* commit 'd4a37518c3b73fcf1860ab10fd3bb7e7ceffba99':
  Fix wrong orientation after suspend and resume.