SurfaceFlinger: run refresh  directly after invalidate

Run the refresh immediately after invalidate as there is no point going
thru the message queue again, and to ensure that we actually refresh
the screen instead of handling other messages that were queued us already
n the MessageQueue.

Bug: 182214053
Test: SF unit tests
Test: Launch an app and observe syatraces
Change-Id: Iff647415d46c4b155b20b60b9e7cc07253339100
1 file changed