Revert the change to DNS_TTL and fix the renewer's TTL

In a previous change, DNSConstants.DNS_TTL had been changed to reduce
the TTL of mDNS services advertised by the A@H broker.  Instead of
changing this for all users of JmDNS, A@H will use the
DNSStateTask.setDefaultTTL internal API to control the TTL.

Also, patch the Renewer so that the renewal interval is based on the
task's own TTL instead of the hardcoded TTL in DNSConstants.

Change-Id: I9f42b98e8088267b38d380edfd8b2e737d00414e
2 files changed
tree: 6852d2279f71679d933491b52f9cb55f0bae66aa
  1. src/
  2. Android.mk
  3. MODULE_LICENSE_APACHE2
  4. NOTICE