summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorMohamed <mohamed@zenadi.com>2017-05-25 20:57:12 +0100
committerMohamed <mohamed@zenadi.com>2017-05-25 20:57:12 +0100
commit708fce2e4001b731833984f66645dfc90f1452c2 (patch)
treeed323da90a003b7ac1df73cb9f2105ef7554a4e7 /app/src/main/java
parent210c41ec25c9d8389723a5755e7db7a2b0e1c27b (diff)
no longer needed as it was fixed in OpenKeychain
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java
index d9a88f3c..9a6ff61a 100644
--- a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java
+++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java
@@ -416,7 +416,6 @@ public class PgpHandler extends AppCompatActivity implements OpenPgpServiceConne
break;
}
case REQUEST_CODE_DECRYPT_AND_VERIFY: {
- findViewById(R.id.progress_bar_label).setVisibility(View.GONE);
decryptAndVerify(data);
break;
}
@@ -488,9 +487,6 @@ public class PgpHandler extends AppCompatActivity implements OpenPgpServiceConne
if (requestCode == REQUEST_CODE_DECRYPT_AND_VERIFY && os != null) {
try {
if (returnToCiphertextField) {
- findViewById(R.id.progress_bar).setVisibility(View.GONE);
- findViewById(R.id.progress_bar_label).setVisibility(View.GONE);
-
boolean showPassword = settings.getBoolean("show_password", true);
findViewById(R.id.crypto_container).setVisibility(View.VISIBLE);
@@ -645,8 +641,6 @@ public class PgpHandler extends AppCompatActivity implements OpenPgpServiceConne
public void decryptAndVerify(Intent data) {
data.setAction(OpenPgpApi.ACTION_DECRYPT_VERIFY);
- findViewById(R.id.progress_bar).setVisibility(View.VISIBLE);
-
try {
InputStream is = FileUtils.openInputStream(new File(getIntent().getExtras().getString("FILE_PATH")));