removed a dangerous log...

This commit is contained in:
zeapo 2014-12-06 18:06:46 +01:00
parent 3f1caf89aa
commit 0b0d14f26a

View file

@ -322,9 +322,6 @@ public class PgpHandler extends ActionBarActivity implements OpenPgpServiceConne
// encrypt/decrypt/sign/verify // encrypt/decrypt/sign/verify
if (requestCode == REQUEST_CODE_DECRYPT_AND_VERIFY && os != null) { if (requestCode == REQUEST_CODE_DECRYPT_AND_VERIFY && os != null) {
try { try {
Log.d(OpenPgpApi.TAG, "result: " + os.toByteArray().length
+ " str=" + os.toString("UTF-8"));
if (returnToCiphertextField) { if (returnToCiphertextField) {
findViewById(R.id.crypto_container).setVisibility(View.VISIBLE); findViewById(R.id.crypto_container).setVisibility(View.VISIBLE);
@ -380,7 +377,6 @@ public class PgpHandler extends ActionBarActivity implements OpenPgpServiceConne
String mKeys = keyIDs.split(",").length > 1 ? keyIDs : keyIDs.split(",")[0]; String mKeys = keyIDs.split(",").length > 1 ? keyIDs : keyIDs.split(",")[0];
// ((TextView) findViewById(R.id.crypto_key_ids)).setText(mKeys); // ((TextView) findViewById(R.id.crypto_key_ids)).setText(mKeys);
settings.edit().putString("openpgp_key_ids", keyIDs).apply(); settings.edit().putString("openpgp_key_ids", keyIDs).apply();
Log.i("PGP", mKeys);
} }
setResult(RESULT_OK); setResult(RESULT_OK);
finish(); finish();