diff options
author | Philip P. Moltmann <moltmann@google.com> | 2018-04-25 11:54:08 -0700 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2018-04-25 11:54:38 -0700 |
commit | 8f65cc365f0010473e3273d7906c7e1738c448ab (patch) | |
tree | 0c591ca2fe79477519a4e3d90308df856313ca2a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c078e6b6fcdaf4045799923d5d777b603928bd56 (diff) |
Use PrinterHashMap in MDNSFilteredDiscovery
Before MDNSFilteredDiscovery used the ip-addresses to remove printers,
but this did not work as once the nsd service is lost, you cannot resolve
it anymore. Hence do the same thing as the other plugins, and remove a
lost service if the name matches.
Also do not try back when the callbacks are already gone.
Fixes: 70622095
Test: Removed Wifi when print service recommendations were shown and saw
all recommendations (including samsung) to go away. Without this
change the samsung service never realized when printers went away.
Change-Id: I7371ef00d626738741d39a2f3669497bfc9fd080
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions