@@ -242,7 +242,7 @@ public class WiFiP2pSyncActivity extends Activity implements AdapterView.OnItemC
((WiFiPeerListAdapter) mLstP2PDevices.getAdapter()).notifyDataSetChanged();
mDevice = null;
this.refreshDeviceList(new ArrayList<WifiP2pDevice>());
-
+
Toast.makeText(this, "WiFi Direct P2P is disabled.", Toast.LENGTH_LONG).show();
}
@@ -87,6 +87,7 @@ public class WiFiP2pClientTask extends BackgroundTask {
try {
Thread.sleep(seconds_to_wait * 1000);
} catch (InterruptedException ie){
+ ie.printStackTrace();
} finally {
if (socket != null) {