Skip to content
Commit 4bf251ca authored by chaviw's avatar chaviw Committed by Chavi Weingarten
Browse files

Remove mEnterAnimationPending check for accessibility

Accessibility was relying on WS.mEnterAnimationPending to determine if a
window was ready on screen. However, that variable no longer represents
what it used to and it doesn't actually mean the app is animating. The
variable is only set when a relayout is requested and then unset when
show is called. Accessibility is already checking isOnScreen and
isVisibleLw so that should cover the cases to check if the window is
ready.

mEnterAnimationPending is not always set properly and causes issues with
accessibility, which is the only place currently using it.

Fixes: 152537982
Test: Magnification for Accessibility works
Change-Id: Ib0f37b3cc6d744fd84f466a65e6ce006e07e116e
parent fe913ac7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment