Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34f97e84 authored by Haoran Zhang's avatar Haoran Zhang Committed by Automerger Merge Worker
Browse files

Merge "Make denylist only apply to unimportant views. Bug: 280462391 Test:...

Merge "Make denylist only apply to unimportant views. Bug: 280462391 Test: atest AutofillForAllAppsTest.java" into udc-dev am: 284f8b62

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22977916



Change-Id: Ibe6d3754b363671e290ac3153ad55a0e46911030
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents c01e7b93 284f8b62
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1095,7 +1095,8 @@ public final class AutofillManager {
        // or if other functions need to call it.
        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");
            return false;
        }