Merge "Ignore dispatchProvideStructureForAutofill() when layout is being updated." into oc-dev
am: e4835a2af4
Change-Id: I43a0e7bec7328d7a272c74145817bf4d9a03b69a
This commit is contained in:
@@ -8065,6 +8065,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
||||
boolean forAutofill, @AutofillFlags int flags) {
|
||||
if (forAutofill) {
|
||||
structure.setAutofillId(getAutofillId());
|
||||
if (!isLaidOut()) {
|
||||
Log.w(VIEW_LOG_TAG, "dispatchProvideAutofillStructure(): not laid out, ignoring");
|
||||
return;
|
||||
}
|
||||
onProvideAutofillStructure(structure, flags);
|
||||
onProvideAutofillVirtualStructure(structure, flags);
|
||||
} else if (!isAssistBlocked()) {
|
||||
|
||||
Reference in New Issue
Block a user