Notify a11y when view attached to parent

Bug: 73493821
Test: Verifying that vibration settings UI works
properly.

Change-Id: Id3c9e87fdd0ad5c49d8bd6e86b2c15977c9b09ca
This commit is contained in:
Phil Weaver
2018-04-03 11:39:20 -07:00
parent 80a2bba9a6
commit 1317162eb4

View File

@@ -5692,6 +5692,7 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
}
dispatchVisibilityAggregated(isAttachedToWindow() && getWindowVisibility() == VISIBLE
&& isShown());
notifySubtreeAccessibilityStateChangedIfNeeded();
}
/**