diff options
author | Mohamed Zenadi <mohamed@zenadi.com> | 2015-06-17 21:51:33 +0200 |
---|---|---|
committer | Mohamed Zenadi <mohamed@zenadi.com> | 2015-06-17 21:51:33 +0200 |
commit | 511e9fe838a6187ed2bf83bb8049f5d77ff2d0f3 (patch) | |
tree | febf17005b48a43ac3434a42727e66e194e22a5b | |
parent | bb8cc0412f9847696c40df055ee9fd2573f9009c (diff) |
avoid empty directory
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/PasswordStore.java | 2 |
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(); |