discard parent_path and use only file_path as before

This commit is contained in:
Mohamed Zenadi 2017-08-02 11:21:00 +01:00 committed by Mohamed Zenadi
parent fc260a6924
commit 8019d8981c

View File

@ -472,7 +472,7 @@ public class PasswordStore extends AppCompatActivity {
Log.i("PWDSTR", "Adding file to : " + currentDir.getAbsolutePath());
Intent intent = new Intent(this, PgpActivity.class);
intent.putExtra("PARENT_PATH", getCurrentDir().getAbsolutePath());
intent.putExtra("FILE_PATH", getCurrentDir().getAbsolutePath());
intent.putExtra("REPO_PATH", PasswordRepository.getRepositoryDirectory(getApplicationContext()).getAbsolutePath());
intent.putExtra("OPERATION", "ENCRYPT");
startActivityForResult(intent, REQUEST_CODE_ENCRYPT);