summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMohamed <mohamed@zenadi.com>2017-09-13 09:07:46 +0200
committerMohamed <mohamed@zenadi.com>2017-09-13 09:07:46 +0200
commit55c46eb644a53dce5531888e6171730ee18bd18f (patch)
tree30f67a09f8b595edd5d0691a7a695d4532b1422e /app
parent79869b4fc66a76b0e9132d42ecba411ba1b41ccc (diff)
check that the packagename is not null
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java1
1 files changed, 1 insertions, 0 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 123150c2..16bf4547 100644
--- a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java
+++ b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java
@@ -212,6 +212,7 @@ public class AutofillService extends AccessibilityService {
// Match with the app if a webview was not found or one was found but
// there's no title or url to go by
if (webViewTitle == null || (webViewTitle.equals("") && webViewURL == null)) {
+ if (info.getPackageName() == null) return;
packageName = info.getPackageName().toString();
// get the app name and find a corresponding password