summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2015-11-10 14:58:44 -0800
committerPhilip P. Moltmann <moltmann@google.com>2015-11-10 17:09:30 -0800
commitb4efdb4726a442eef38bb6417d5acb8eb68b912d (patch)
treea91b60be0258e7b63ba8545a3c12b27b0369dd9b /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc2c17c4e8d6369717f8222cce4884fb92e80cf74 (diff)
Deal correctly with suggested print attributes
An app might suggest certain attribute for an print job. This patch fixes - PrintActivity should not silently overwrite the attributes with the default values - Handle duplex mode in PrintAttributes similar to the other attributes. I.e. have an "unset" value (0). This is an API change. But the only use case for PrintAttributes was to pass them to print() and thereby the PrintActivity. This was broken (see above), hence we are changing and API that could have never been used. Bug: 23629618 Change-Id: I43c25704497c799352fb806126dc93f6db4879f5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions