mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
how comes result is null sometimes in return of e.getmessage....
This commit is contained in:
@@ -52,6 +52,9 @@ public class GitAsyncTask extends AsyncTask<GitCommand, Integer, String> {
|
|||||||
protected void onPostExecute(String result) {
|
protected void onPostExecute(String result) {
|
||||||
this.dialog.dismiss();
|
this.dialog.dismiss();
|
||||||
|
|
||||||
|
if (result == null)
|
||||||
|
result = "Unexpected error";
|
||||||
|
|
||||||
if (!result.isEmpty()) {
|
if (!result.isEmpty()) {
|
||||||
new AlertDialog.Builder(activity).
|
new AlertDialog.Builder(activity).
|
||||||
setTitle(activity.getResources().getString(R.string.jgit_error_dialog_title)).
|
setTitle(activity.getResources().getString(R.string.jgit_error_dialog_title)).
|
||||||
|
Reference in New Issue
Block a user