diff options
author | Evan Rosky <erosky@google.com> | 2020-06-18 16:46:47 -0700 |
---|---|---|
committer | Evan Rosky <erosky@google.com> | 2020-06-18 16:46:47 -0700 |
commit | e1a31c94832efa679c7630e30fa092f1bfe12685 (patch) | |
tree | 77cfd2d023932ff3d1253ffcfca969186c52946e /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 254dcfd5f41d8e215275b3b03937d964153a3fe3 (diff) |
Don't use sync transactions if not needed
Some common operations (like setting focusability) don't need
to be sync. In fact, sync is causing problems because it causes
other simultaneous operations (like transition animations) to
put some of their operations on the sync transaction instead
of pending. For example, leash-reparent would go on pending,
but activity hide would go on sync.
Additionally, the divider kept re-updating the app bounds
even when they didn't change. This added to the likelihood
that transactions would get mixed-up.
Bug: 158767094
Test: In split-screen landscape, quickly open/close apps in
secondary split and look for flickers.
Change-Id: I0151e013347e9b30d58a52e8bd6b1401defee572
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions