summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2017-03-24 16:17:13 -0700
committerPhilip P. Moltmann <moltmann@google.com>2017-03-29 16:13:32 +0000
commitd0e44c5ee32976b24b9b1377d9ece94a59db7df5 (patch)
tree621f9a9daef34cffbbce4b6c6a3f3311d1837ded /tools/aapt2/diff/Diff.cpp
parent1af2928767af7ffd95ce61946b95a7b5ef877bd5 (diff)
Do not allow printing until preview is updated
Otherwise we might end up in the situation where we print something that was not previewed. This is of course bad for the user as he prints something he has not seen. It is also bad for the print spooler as in the case the layout did not describe the amount of pages, we do not know the number of pages available until the update is complete. We now allow changing of printer at any time unless printing is in final stage. If we don't allow this the changing of printer would be blocked until the intial document was written which might take some time. Fixes: 36599750 Test: cts-tradefed run cts-dev -m Print Change-Id: I93e910c02f2a770008b845028f0adf17b3d410e2 (cherry picked from commit 378cddbc41dae55e9a11faaa251b80fb90878b34)
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions