aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/com/zeapo
diff options
context:
space:
mode:
authorMohamed <mohamed@zenadi.com>2017-05-25 21:07:26 +0100
committerMohamed <mohamed@zenadi.com>2017-05-25 21:07:26 +0100
commit72fcf46ca999326c0a6d9a8e3820babc6916240e (patch)
treebbabe20292e165db5867383c29c2e9137d97be30 /app/src/main/java/com/zeapo
parent708fce2e4001b731833984f66645dfc90f1452c2 (diff)
follow: remove progress bar when waiting for OpenKeychain
Diffstat (limited to 'app/src/main/java/com/zeapo')
-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")));