Force draw during a blast sync and disable rt animations
When ViewRootImpl is going to draw a frame due to a blast sync request, we call forceDrawNextFrame to ensure we get a draw this vsync, even if RT animation rendered a frame. This will ensure that we aren't required to reschedule a draw either in rt thread or ui thread since we'll get a frame back as long as there's an available buffer. We also disable rt animations if a sync set has started with Syncer and then re-enable when the sync set is complete. This ensures we don't continue to acquire buffers for a render thread scheduled animation during a UI animation since we want the UI request to get the buffer. Test: Open internet dialog from notification shade on 60hz device Fixes: 217621394 Bug: 200284684 Change-Id: Ic1534d21b0ee2ad82f20ff34df4cbbbad87557fd
Loading
Please register or sign in to comment