Z2 didn't recognize file filter "file/*" so changed to */*
This commit is contained in:
parent
a44a38783c
commit
aaee40b933
2 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue