73f1ba806fe5fa0dad2334b168deefaf6d8ca5c3
Change the management of NSD Listener objects to one which ensures that each Listener will be used for only one NSD service request at a time (as the APIs were intended to function). Listeners are now allocated in a "lazy" on-demand way, rather than having one Listener of each type allocated at application startup time. When the Register or Discover button is clicked, any existing Listener request of that type will be canceled and the Listener discarded (avoiding the need to wait until the Listener callback has been completed), and a new Listener will be allocated. Moves code around in the application-lifecycle callbacks to reflect the current Android lifecycle. Doing important things like unregistering NSD services should not be done in the onDestroy() callback, as there is no guarantee that the app won't be killed before this callback is invoked. This can lead to "zombie" NSD registrations in KitKat. Adds additional lifecycle logging. Pass 2 - fix typo, clean up trailing whitespace Pass 3 - fix onStart/onRestart mismatch Bug: 13512512 Change-Id: Ic164110759204b27d8a14376777b593ebe1865fa
am
9fc688f4: am 6e58370c: am 4d3ff06e: am 56329479: am 6bd35b5b: Revert "make target for gms and gcm javadocs and to automate entire docs build"
am
225c000d: am 8a28dc4f: am b67283c0: am b378f58a: Merge "Adding production app.yaml to source control" into klp-docs
Description
android_development
Languages
PostScript
31.4%
TypeScript
16.9%
C++
15.5%
Python
11.8%
Java
11.4%
Other
12.7%