summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2016-01-08 16:20:08 -0800
committerPhilip P. Moltmann <moltmann@google.com>2016-01-08 16:20:12 -0800
commit9b99d76a7141f782f12cc3e78aa45e2cd4a4a097 (patch)
tree654cddb764b25b0237feaea92bb1f3f692a88820 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent629f98466a4c2d778ddd4ce5a9df107e28f9b98a (diff)
Do not add far favorite printers more than once.
The favorite printer list contains a printer multiple times as it might have been used at different locations. Hence it can be that a printer is in the favorite printer list multipe times but never considered close. Hence we go into the second loop and add it multiple times as we never add it to alreadyAddedPrinter. Change-Id: I4ca8a6a5a05f43645a0b2c891a55df2ccce05ad4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions