From 8019d8981ce69205d6cd4f6c76101f16c5ef1af8 Mon Sep 17 00:00:00 2001 From: Mohamed Zenadi Date: Wed, 2 Aug 2017 11:21:00 +0100 Subject: discard parent_path and use only file_path as before --- app/src/main/java/com/zeapo/pwdstore/PasswordStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src') diff --git a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java index 566bde5c..0af9f2cb 100644 --- a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java +++ b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java @@ -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); -- cgit v1.2.3