diff options
author | Evan Rosky <erosky@google.com> | 2019-05-14 10:54:07 -0700 |
---|---|---|
committer | Evan Rosky <erosky@google.com> | 2019-05-29 11:24:15 -0700 |
commit | 08e209396894834dd77e0f086ed4ed8c8ad5f8a8 (patch) | |
tree | 5c1a5c1c775aacb7c9220d0d6bf275b78f153b7b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 26fdabb9a08c01b5fb55062d299dfea1e6eb1083 (diff) |
Take snapshot directly during change transition
Using the tasksnapshotcontroller here is actually wrong... the
snapshot being created is already out-of-date and could have
scaling/other things applied to it. Additionally, it can clash
with things listening for task-snapshot changes which is also
wrong.
This changes to getting a snapshot directly which is more
correct and faster (since it doesn't go through the snapshot
controller's caching thing).
Bug: 132783168
Test: Manual, change transitions still work. android on chrome
doesn't crash on tablet-mode switch
Change-Id: I726ed174765ac64bedb7cd130719190a06ad42ab
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions