From 511e9fe838a6187ed2bf83bb8049f5d77ff2d0f3 Mon Sep 17 00:00:00 2001 From: Mohamed Zenadi Date: Wed, 17 Jun 2015 21:51:33 +0200 Subject: avoid empty directory --- app/src/main/java/com/zeapo/pwdstore/PasswordStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3