summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2018-02-15 15:36:23 -0800
committerRobert Carr <racarr@google.com>2018-03-14 12:01:01 -0700
commitae606b44578419b70fdc346525905778528fb7f6 (patch)
tree48b248e4a51740c53ccf26225b039211bbd41e86 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta9e73469c59df4ea596d3872e90b1d13fcbac779 (diff)
Eliminate usage of global transaction for display configuration.
For seamless rotation to work in the brave new world we need the setting of the display projection to occur in the same transaction as the reconfiguration of the stack SurfaceControl. To understand this simply see that the inverse rotation for seamless rotation happens at the WindowStateAnimator level so if the stack bounds weren't updated to the new rotation we would clip. This means: We need to use the pending transaction. We also need to port the rotation animation to use the pending transaction as it needs to perform transactions at the same time as setting the display projection. A pleasant consequence is we can eliminate some "inTransaction" code-paths that always seemed to be a bit of a wart. Bug: 72038766 Test: Manual. go/wm-smoke. Change-Id: I949fbe8150d452c1ef5c13e704ddf87269f824f3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions