use the app directory for default import/export file paths

This commit is contained in:
Thialfihar 2010-04-29 12:44:08 +00:00
parent dc5125787d
commit 3dc5e37cc6
2 changed files with 4 additions and 4 deletions

View File

@ -54,8 +54,8 @@ public class PublicKeyListActivity extends BaseActivity {
protected int mSelectedItem = -1;
protected int mTask = 0;
private String mImportFilename = Environment.getExternalStorageDirectory() + "/pubring.gpg";
private String mExportFilename = Environment.getExternalStorageDirectory() + "/pubexport.asc";
private String mImportFilename = Constants.path.app_dir + "/pubring.gpg";
private String mExportFilename = Constants.path.app_dir + "/pubexport.asc";
@Override
protected void onCreate(Bundle savedInstanceState) {

View File

@ -55,8 +55,8 @@ public class SecretKeyListActivity extends BaseActivity implements OnChildClickL
protected int mSelectedItem = -1;
protected int mTask = 0;
private String mImportFilename = Environment.getExternalStorageDirectory() + "/secring.gpg";
private String mExportFilename = Environment.getExternalStorageDirectory() + "/secexport.asc";
private String mImportFilename = Constants.path.app_dir + "/secring.gpg";
private String mExportFilename = Constants.path.app_dir + "/secexport.asc";
@Override
protected void onCreate(Bundle savedInstanceState) {