use the app directory for default import/export file paths
parent
dc5125787d
commit
3dc5e37cc6
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue