public void onGetNetworks(NetInfo[] nets) {
   if (Closed) return;
   Log.d(TAG, "GET_NETWORKS = " + nets);
   if (nets != null && nets.length > 0) {
     for (NetInfo net : nets) {
       connNets[net.type] = net;
     }
     // dont check & limit to leader, since user may have not
     // chosen yet.
     // simply update GUI for all, it will not show foe member
     // if (isLeader) {
     netConnectedAtLeader(nets);
     // }
     if (connMgrService != null) {
       connMgrService.getActiveNetwork();
     }
   }
 }