am 506f5cc2: am 50bdf7e0: Merge "Only postpone animations if app is visible" into jb-mr2-dev

* commit '506f5cc24e1b5da9c66d26488909b2464671a6b9':
  Only postpone animations if app is visible