diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/build.gradle | 4 | ||||
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/app/build.gradle b/app/build.gradle index 3b800d75..ed2352a6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,8 +9,8 @@ android { applicationId "com.zeapo.pwdstore" minSdkVersion 15 targetSdkVersion 23 - versionCode 51 - versionName "1.2.0.31" + versionCode 52 + versionName "1.2.0.32" } compileOptions { 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 d8c47b2a..131e8e51 100644 --- a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java +++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java @@ -451,7 +451,10 @@ public class PgpHandler extends AppCompatActivity implements OpenPgpServiceConne case OpenPgpApi.RESULT_CODE_USER_INTERACTION_REQUIRED: { Log.i("PgpHandler", "RESULT_CODE_USER_INTERACTION_REQUIRED"); - findViewById(R.id.progress_bar_label).setVisibility(View.VISIBLE); + 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 { |