summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2016-07-07 13:13:05 -0700
committerGeorge Mount <mount@google.com>2016-10-06 08:39:28 -0700
commiteca8e221db923927cdeca927c0b75807a7612145 (patch)
treee42e75bd915ec915421189f04adcbb92957edd27 /tools/aapt2/diff/Diff.cpp
parent6b6fc5634c7d32a16a9005c14e134fcaf37ed4c8 (diff)
Optimize Fragment operations so that minimal work is done.
Bug 29631389 When multiple operations are executed at once, they sometimes cancel each other. For example, if the following transactions are queued: Transaction 1: add A Transaction 2: replace with B This can be trimmed down to add B. This CL optimizes fragments in both add and pop directions. Developers can choose not to allow optimization by using FragmentTransaction#setAllowOptimization Test: If6637e9f1c2a414bebaff6404efc45dd828378ad Change-Id: Iab75be3e0aa388fc79b794e647ac6893165bebd7
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions