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

Commit 059bce96 authored by felipeal's avatar felipeal Committed by Felipe Leme
Browse files

Views with autofill hints should be considered important in auto mode.

Test: atest CtsAutoFillServiceTestCases:FatActivityTest

Fixes: 72836107

Change-Id: I0b68cd5f5e8b0c382bdd7a648ecc82a3c50c3325
parent 90f285ba
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -8366,6 +8366,11 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
            }
        }
        // If the app developer explicitly set hints for it, it's important.
        if (getAutofillHints() != null) {
            return true;
        }
        // Otherwise, assume it's not important...
        return false;
    }