Merge "Ignore dispatchProvideStructureForAutofill() when layout is being updated." into oc-dev
am: e4835a2af4
Change-Id: If88ec9c1de2d81d5b629ed0ead8c9911e6f2c0c5
This commit is contained in:
@@ -8063,6 +8063,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