Add systemui exception to autofill

This commit is contained in:
Matthew Wong 2016-06-30 20:25:33 -04:00
parent 7da9633a3c
commit 810e76cc6d

View file

@ -136,7 +136,8 @@ public class AutofillService extends AccessibilityService {
// nothing to do if not password field focus, field is keychain app // nothing to do if not password field focus, field is keychain app
if (!event.isPassword() if (!event.isPassword()
|| event.getEventType() == AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED || event.getEventType() == AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED
|| event.getPackageName().equals("org.sufficientlysecure.keychain")) { || event.getPackageName().equals("org.sufficientlysecure.keychain")
|| event.getPackageName().equals("com.android.systemui")) {
dismissDialog(event); dismissDialog(event);
return; return;
} }