title: Long delay on main thread
body: <p>I am capturing one of my screen transitions that cause a long delay resulting in lost frames. I am having trouble figuring out where the problem code is. This is my stack trace. What does android.os.MessageQueue.next() mean ?</p>
  
  <p><a href="https://i.stack.imgur.com/dbP9d.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dbP9d.png" alt="enter image description here"></a></p>
  
  <p>trace top</p>
  
  <p><a href="https://i.stack.imgur.com/zv54D.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zv54D.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/B2JwB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B2JwB.png" alt="enter image description here"></a></p>