use the app directory for default import/export file paths
This commit is contained in:
@@ -54,8 +54,8 @@ public class PublicKeyListActivity extends BaseActivity {
|
|||||||
protected int mSelectedItem = -1;
|
protected int mSelectedItem = -1;
|
||||||
protected int mTask = 0;
|
protected int mTask = 0;
|
||||||
|
|
||||||
private String mImportFilename = Environment.getExternalStorageDirectory() + "/pubring.gpg";
|
private String mImportFilename = Constants.path.app_dir + "/pubring.gpg";
|
||||||
private String mExportFilename = Environment.getExternalStorageDirectory() + "/pubexport.asc";
|
private String mExportFilename = Constants.path.app_dir + "/pubexport.asc";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
|||||||
@@ -55,8 +55,8 @@ public class SecretKeyListActivity extends BaseActivity implements OnChildClickL
|
|||||||
protected int mSelectedItem = -1;
|
protected int mSelectedItem = -1;
|
||||||
protected int mTask = 0;
|
protected int mTask = 0;
|
||||||
|
|
||||||
private String mImportFilename = Environment.getExternalStorageDirectory() + "/secring.gpg";
|
private String mImportFilename = Constants.path.app_dir + "/secring.gpg";
|
||||||
private String mExportFilename = Environment.getExternalStorageDirectory() + "/secexport.asc";
|
private String mExportFilename = Constants.path.app_dir + "/secexport.asc";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
|||||||
Reference in New Issue
Block a user