public void onGetActiveNetwork(NetInfo net) {
    if (Closed) return;
    Log.d(TAG, "GET_ACTIVE_NETWORK");
    Log.d(TAG, "chosen Ntype : " + chosenNType);

    if (net != null) {
      if (actNetType != NetInfo.NoNet
          && connNets[actNetType] != null
          && net.name != null
          && net.name.equals(connNets[actNetType].name)) {
        return;
      }
      actNetType = net.type;
      if (isLeader && chosenNType == actNetType) {
        netActivatedAtLeader(net);
      }
      if (connMgrService != null) {
        connMgrService.getDeviceInfo();
      }
      /*
       * Log.d(TAG, "chosen Ntype : " +
       * chosenNType+", net.type="+net.type); if (chosenNType == net.type)
       * { setUseSSL(qrData.useSSL); }
       */
    }
  }