summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorknuthy <knuthy@gmail.com>2014-09-13 10:01:21 +0200
committerknuthy <knuthy@gmail.com>2014-09-13 10:01:21 +0200
commitaaee40b93360881efffeae48ca76e10701a06ac2 (patch)
tree8d4245e7241273822c0bcc2f384d986a936be1a4 /app/src/main
parenta44a38783c5e6aa7d99d18d620231998cd1c5e53 (diff)
Z2 didn't recognize file filter "file/*" so changed to */*
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/GitHandler.java1
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/UserPreference.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/GitHandler.java b/app/src/main/java/com/zeapo/pwdstore/GitHandler.java
index 2544efe5..38af8a81 100644
--- a/app/src/main/java/com/zeapo/pwdstore/GitHandler.java
+++ b/app/src/main/java/com/zeapo/pwdstore/GitHandler.java
@@ -213,6 +213,7 @@ public class GitHandler extends Activity {
protected void onPreExecute() {
this.dialog.setMessage("Cloning...");
this.dialog.setCancelable(false);
+ // TODO: Handle a dialog leak when there is no error
this.dialog.show();
}
diff --git a/app/src/main/java/com/zeapo/pwdstore/UserPreference.java b/app/src/main/java/com/zeapo/pwdstore/UserPreference.java
index 49709169..69459226 100644
--- a/app/src/main/java/com/zeapo/pwdstore/UserPreference.java
+++ b/app/src/main/java/com/zeapo/pwdstore/UserPreference.java
@@ -56,7 +56,7 @@ public class UserPreference extends PreferenceActivity implements Preference.OnP
startActivityForResult(intent, 0);
} else if (pref.getKey().equals("ssh_key")) {
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
- intent.setType("file/*");
+ intent.setType("*/*");
startActivityForResult(intent, 1);
}
return true;