mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 06:15:48 +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) {
|
||||
this.dialog.dismiss();
|
||||
|
||||
if (result == null)
|
||||
result = "Unexpected error";
|
||||
|
||||
if (!result.isEmpty()) {
|
||||
new AlertDialog.Builder(activity).
|
||||
setTitle(activity.getResources().getString(R.string.jgit_error_dialog_title)).
|
||||
|
Reference in New Issue
Block a user