aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/com
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2017-08-02 11:21:00 +0100
committerMohamed Zenadi <zeapo@users.noreply.github.com>2017-08-10 11:10:29 +0200
commit8019d8981ce69205d6cd4f6c76101f16c5ef1af8 (patch)
treee217caed1277b6038c24433a31a8cac25f192c9b /app/src/main/java/com
parentfc260a692444ceff33e1db7485d801557f98f92e (diff)
discard parent_path and use only file_path as before
Diffstat (limited to 'app/src/main/java/com')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/PasswordStore.java2
1 files changed, 1 insertions, 1 deletions
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);