commit | 876377d0b20eb3d64c86ad461562f005b9f0b6d3 | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Fri Jun 02 14:43:28 2017 -0700 |
committer | Felipe Leme <felipeal@google.com> | Fri Jun 02 14:48:43 2017 -0700 |
tree | 95cedee84d9ed75bee6a432dab9f06c5fe21193c | |
parent | 6d46bc2ed3c53945879fcbaded6cd4a1bc20e07f [diff] |
Catch WindowManager exceptions so they don't crash the system. WindowManager throws an IllegalStateException when adding a view twice; this should never happen (since show() and hide() are always called in the UIThread), but when it does, it should not crash the system. Test: existing CtsAutoFillServiceTestCases pass Fixes: 62262781 Change-Id: Idfd246ff173f4abb606865b7ba8cc367eb6acaad