Merge "Added missing important-for-autofill mappings." into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b8305e9186
@@ -7538,7 +7538,11 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
||||
@ViewDebug.ExportedProperty(mapping = {
|
||||
@ViewDebug.IntToString(from = IMPORTANT_FOR_AUTOFILL_AUTO, to = "auto"),
|
||||
@ViewDebug.IntToString(from = IMPORTANT_FOR_AUTOFILL_YES, to = "yes"),
|
||||
@ViewDebug.IntToString(from = IMPORTANT_FOR_AUTOFILL_NO, to = "no")})
|
||||
@ViewDebug.IntToString(from = IMPORTANT_FOR_AUTOFILL_NO, to = "no"),
|
||||
@ViewDebug.IntToString(from = IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS,
|
||||
to = "yesExcludeDescendants"),
|
||||
@ViewDebug.IntToString(from = IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS,
|
||||
to = "noExcludeDescendants")})
|
||||
public @AutofillImportance int getImportantForAutofill() {
|
||||
return (mPrivateFlags3
|
||||
& PFLAG3_IMPORTANT_FOR_AUTOFILL_MASK) >> PFLAG3_IMPORTANT_FOR_AUTOFILL_SHIFT;
|
||||
@@ -7550,7 +7554,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
||||
* <p>See {@link #setImportantForAutofill(int)} for more info about this mode.
|
||||
*
|
||||
* @param mode {@link #IMPORTANT_FOR_AUTOFILL_AUTO}, {@link #IMPORTANT_FOR_AUTOFILL_YES},
|
||||
* or {@link #IMPORTANT_FOR_AUTOFILL_NO}.
|
||||
* {@link #IMPORTANT_FOR_AUTOFILL_NO}, {@link #IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS},
|
||||
* or {@link #IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS}.
|
||||
*
|
||||
* @attr ref android.R.styleable#View_importantForAutofill
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user