diff options
author | Prabir Pradhan <prabirmsp@google.com> | 2019-07-26 14:21:21 -0700 |
---|---|---|
committer | Prabir Pradhan <prabirmsp@google.com> | 2019-08-07 12:59:01 -0700 |
commit | 03dde38efcb3c06c6317f9fcf1265e37a66811d9 (patch) | |
tree | 801ada1d0bb7cc295d6a2b791c4d21f55706dd77 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | c80fe63001c85d539b85d558c3683e30dc0a5f5e (diff) |
apply empty transaction in startActivitySync
Force SurfaceFlinger to update synchronously by applying an empty
transaction. Without this, SurfaceFlinger will only update after the
next vsync, which may only happen after the instrumentation already
starts.
Since InputFlinger will only have the proper InputWindowInfo after
SurfaceFlinger updates, waiting for the vsync caused some
instruemntation tests to be flaky.
Bug: 138263890
Test: atest android.view.cts.HoverTest
Change-Id: I5457ab67ac574530dc1aa84549ca11e7e3f0d714
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions