Merge "Make denylist only apply to unimportant views. Bug: 280462391 Test: atest AutofillForAllAppsTest.java" into udc-dev
This commit is contained in:
@@ -1095,7 +1095,8 @@ public final class AutofillManager {
|
|||||||
// or if other functions need to call it.
|
// or if other functions need to call it.
|
||||||
if (view.getAutofillType() == View.AUTOFILL_TYPE_NONE) return false;
|
if (view.getAutofillType() == View.AUTOFILL_TYPE_NONE) return false;
|
||||||
|
|
||||||
if (isActivityDeniedForAutofill()) {
|
// denylist only applies to not important views
|
||||||
|
if (!view.isImportantForAutofill() && isActivityDeniedForAutofill()) {
|
||||||
Log.d(TAG, "view is not autofillable - activity denied for autofill");
|
Log.d(TAG, "view is not autofillable - activity denied for autofill");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user