Crash-Test-Buddies / WiFi-Buddy

Wi-Fi Buddy - Library to handle Android Wi-Fi Direct
https://groups.google.com/forum/#!forum/wi-fi-direct
MIT License
48 stars 12 forks source link

Service Discovery is called when chat fragment opens #138

Closed brendankirby closed 8 years ago

brendankirby commented 8 years ago

Don't think this should be happening.

06-21 09:39:44.727 25408-25408/edu.rit.se.crashavoidance I/wfd: Connection info available 06-21 09:39:44.727 25408-25408/edu.rit.se.crashavoidance I/wfd: Connected as group owner 06-21 09:39:44.728 25408-25408/edu.rit.se.crashavoidance I/System.out: [CDS]close[0] 06-21 09:39:44.728 25408-25408/edu.rit.se.crashavoidance E/wfd_OwnerSocketHandler: Error starting server socket 06-21 09:39:44.728 25408-25408/edu.rit.se.crashavoidance E/wfdOwnerSocketHandler: bind failed: EADDRINUSE (Address already in use) 06-21 09:39:44.728 25408-25408/edu.rit.se.crashavoidance I/wfd: Failed to create a server thread - bind failed: EADDRINUSE (Address already in use) 06-21 09:39:44.750 25408-25408/edu.rit.se.crashavoidance I/wfd_CommReceiver: This device changed 06-21 09:39:45.293 25408-27478/edu.rit.se.crashavoidance I/wfd_OwnerSocketHandler: Launching the I/O handler 06-21 09:39:45.295 25408-27478/edu.rit.se.crashavoidance I/wfdOwnerSocketHandler: Launching the I/O handler 06-21 09:39:45.296 25408-25408/edu.rit.se.crashavoidance I/wfd: handleMessage() called 06-21 09:39:45.296 25408-25408/edu.rit.se.crashavoidance I/wfd: handleMessage() called **06-21 09:41:01.285 25408-27091/edu.rit.se.crashavoidance I/wfd: Discover services called 06-21 09:41:01.286 25408-27091/edu.rit.se.crashavoidance I/wfd: Submitting discover task 06-21 09:41:01.292 25408-25408/edu.rit.se.crashavoidance I/wfd: Service discovery initiated 06-21 09:43:01.286 25408-28145/edu.rit.se.crashavoidance I/wfd: Discover services called 06-21 09:43:01.287 25408-28145/edu.rit.se.crashavoidance I/wfd: Submitting discover task 06-21 09:43:01.290 25408-25408/edu.rit.se.crashavoidance I/wfd_: Service discovery initiated**

brendankirby commented 8 years ago

Fixed in #166 , closing....