Removed test function

This commit is contained in:
Przemek Grondek 2014-07-29 12:33:50 +02:00
parent 974ffcdd7b
commit 2b44b0ba74

View file

@ -70,20 +70,9 @@ public class LoginFragment extends Fragment implements View.OnClickListener, Asy
passwordTextbox.setText(crypto.decryptBase64(password));
} catch (Exception e) { e.printStackTrace(); }
}
// test(urlTextbox.getText().toString());
}
}
private void test(String text){ //FIXME Remove Me!!!
String tmp;
byte [] tmp_byte;
try {
Crypto crypto = new Crypto(getActivity());
tmp_byte = crypto.encrypt(text);
crypto.decrypt(tmp_byte);
} catch (Exception e) { e.printStackTrace(); }
}
@Override
public void onClick(View view) {
progressBar.setVisibility(View.VISIBLE);