summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java10
1 files changed, 0 insertions, 10 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 9a6ff61a..3b027830 100644
--- a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java
+++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java
@@ -566,9 +566,6 @@ public class PgpHandler extends AppCompatActivity implements OpenPgpServiceConne
if (requestCode == REQUEST_CODE_EDIT && os != null) {
try {
if (returnToCiphertextField) {
- findViewById(R.id.progress_bar).setVisibility(View.GONE);
- findViewById(R.id.progress_bar_label).setVisibility(View.GONE);
-
findViewById(R.id.crypto_container).setVisibility(View.VISIBLE);
Typeface monoTypeface = Typeface.createFromAsset(getAssets(), "fonts/sourcecodepro.ttf");
@@ -600,11 +597,6 @@ public class PgpHandler extends AppCompatActivity implements OpenPgpServiceConne
case OpenPgpApi.RESULT_CODE_USER_INTERACTION_REQUIRED: {
Log.i("PgpHandler", "RESULT_CODE_USER_INTERACTION_REQUIRED");
- View progress_bar_label = findViewById(R.id.progress_bar_label);
- if (progress_bar_label != null) {
- progress_bar_label.setVisibility(View.VISIBLE);
- }
-
PendingIntent pi = result.getParcelableExtra(OpenPgpApi.RESULT_INTENT);
try {
PgpHandler.this.startIntentSenderForResult(pi.getIntentSender(),
@@ -701,8 +693,6 @@ public class PgpHandler extends AppCompatActivity implements OpenPgpServiceConne
// exactly same as decrypt, only we want a different callback
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")));