summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java4
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/utils/PasswordRepository.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java
index 405f163b..21627038 100644
--- a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java
+++ b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java
@@ -364,8 +364,8 @@ public class AutofillService extends AccessibilityService {
items.add(file);
}
} else {
- // ignore .git directory
- if (file.getName().equals(".git"))
+ // ignore .git and .extensions directory
+ if (file.getName().equals(".git") || file.getName().equals(".extensions"))
continue;
items.addAll(searchPasswords(file, appName));
}
diff --git a/app/src/main/java/com/zeapo/pwdstore/utils/PasswordRepository.java b/app/src/main/java/com/zeapo/pwdstore/utils/PasswordRepository.java
index b1c99232..ab86d2e1 100644
--- a/app/src/main/java/com/zeapo/pwdstore/utils/PasswordRepository.java
+++ b/app/src/main/java/com/zeapo/pwdstore/utils/PasswordRepository.java
@@ -191,8 +191,8 @@ public class PasswordRepository {
if (file.isFile()) {
passwordList.add(PasswordItem.newPassword(file.getName(), file, rootDir));
} else {
- // ignore .git directory
- if (file.getName().equals(".git"))
+ // ignore .git and .extensions directory
+ if (file.getName().equals(".git") || file.getName().equals(".extensions"))
continue;
passwordList.add(PasswordItem.newCategory(file.getName(), file, rootDir));
}