Phil Weaver 8fd2e29c41 Better guarantee a11y service initial state
I've see flakiness in the gesture dispatch test with
magnification enabled. It turned out that the state
of the input filter was in flux when onServiceConnected
was called back. Now delaying that call until the
input filter's state is stable.

Also fixing the return value of getCenterX and Y when
a service isn't actively controlling magnification.

Bug: 65012944
Test: A11y CTS and unit tests.
Change-Id: I64260ebb72ee95307d777a9e4b70876c14f99e9c
(cherry picked from commit 53b690b5bc72ac5cd34300c9965707edd0b217cd)
2017-08-24 20:43:54 +00:00
..