check that the packagename is not null
This commit is contained in:
parent
79869b4fc6
commit
55c46eb644
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue