commit | a4c520694fee942a6a166bbb6687dcd0ea0e3509 | [log] [tgz] |
---|---|---|
author | Arthur Hung <arthurhung@google.com> | Tue Feb 19 11:31:44 2019 +0800 |
committer | Arthur Hung <arthurhung@google.com> | Fri Feb 22 12:43:55 2019 +0800 |
tree | a7b0f0a0b91fb99cb596510a558558c16cf5b806 | |
parent | ddc0fa515588f6545f7ffbc4e9d03b55565020f8 [diff] |
Fix View#performHapticFeedback() can block UI thread Currently, IWindowSession#performHapticFeedback() would first lookup the WindowState via IWindow token. That would also hold the WMS lock, so if some function like relayout window is still hold WMS lock, it may block the function. Use uid and package name from Session that they already restored. Bug: 62330939 Test: Open app with autofill edit, type with IME. Change-Id: I359c106d213b87aa8afee48b0f1ad70011970eab