commit | 53b690b5bc72ac5cd34300c9965707edd0b217cd | [log] [tgz] |
---|---|---|
author | Phil Weaver <pweaver@google.com> | Mon Aug 14 17:42:39 2017 -0700 |
committer | Phil Weaver <pweaver@google.com> | Mon Aug 14 17:42:39 2017 -0700 |
tree | e9997a40362094ec1bed859badf5c84d7a5c7338 | |
parent | 676410975ba7bccdd8984150c047517c11d2954c [diff] |
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. Test: A11y CTS and unit tests. Change-Id: I64260ebb72ee95307d777a9e4b70876c14f99e9c