aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2015-06-17 21:51:33 +0200
committerMohamed Zenadi <mohamed@zenadi.com>2015-06-17 21:51:33 +0200
commit511e9fe838a6187ed2bf83bb8049f5d77ff2d0f3 (patch)
treefebf17005b48a43ac3434a42727e66e194e22a5b /app
parentbb8cc0412f9847696c40df055ee9fd2573f9009c (diff)
avoid empty directory
Diffstat (limited to 'app')
-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 22abffd7..a99ec34a 100644
--- a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java
+++ b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java
@@ -203,7 +203,7 @@ public class PasswordStore extends AppCompatActivity {
localDir.mkdir();
try {
PasswordRepository.createRepository(localDir);
-
+ new File(localDir.getAbsolutePath() + "/.gpg-id").createNewFile();
settings.edit().putBoolean("repository_initialized", true).apply();
} catch (Exception e) {
e.printStackTrace();