commit | c8e20afa3c60ff6aeb0e60bf8b225fa15a8fe3e7 | [log] [tgz] |
---|---|---|
author | Phil Weaver <pweaver@google.com> | Wed Apr 05 09:28:32 2017 -0700 |
committer | Phil Weaver <pweaver@google.com> | Wed Apr 05 09:28:32 2017 -0700 |
tree | 923f57266e35e373ecadef45daae107aeb326c9c | |
parent | b9f570ff4421262e845e15a9e9a655fe7791b9e8 [diff] |
Don't enable a11y service if scary dialog obscured We were only checking if the OK button itself was obscured. Changing to check if any part of the window is obscured. Bug: 31855267 Test: Created a sample a11y service that displays a UI to cover part of the window, but not the OK button. It was possible to enable an a11y service before this change, but now it displays a warning toast. Change-Id: I21974535aba734da6ea9d7accf67fb9237fd16fc