Z2 didn't recognize file filter "file/*" so changed to */*

This commit is contained in:
knuthy 2014-09-13 10:01:21 +02:00
parent a44a38783c
commit aaee40b933
2 changed files with 2 additions and 1 deletions

View file

@ -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();
}

View file

@ -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;