OSDN Git Service

Start drawing immediately
authorJorim Jaggi <jjaggi@google.com>
Wed, 27 Jan 2016 02:48:44 +0000 (18:48 -0800)
committerJorim Jaggi <jjaggi@google.com>
Wed, 27 Jan 2016 21:47:09 +0000 (13:47 -0800)
commit3127c2a471dbefda916701d9b3837ce109ea7d49
tree401e85a2eac809843571564ba03bb70bb46503e5
parent9b0a2c921a9268b89f3e72866b0f011749454c71
Start drawing immediately

We used to have a condition to start drawing only in the second traversal,
which added a delay of about 10-15ms. We believe that we don't need this
anymore, because we have other means of synchronizing the app transition
animation with the app drawing - we wait for all surfaces to be drawn
in window manager.

Bug: 21035872
Change-Id: I5094a1377817dc7e0a2392cc8f522e99cd7b4d6e
core/java/android/view/ViewRootImpl.java