commit | 07ffb336d9c0fe80d2493693e543305a7dc23adf | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Tue Jan 18 21:06:54 2022 -0800 |
committer | Vishnu Nair <vishnun@google.com> | Wed Jan 19 21:54:38 2022 +0000 |
tree | e858d6fefe76d8024380a9d9e84b5a8a5147eda3 | |
parent | 8161eee7af8834697d6bc0b2f49473e9ed48aefb [diff] |
WM: Fix input dispatch timeout for instrumented processes Input dispatch timeout varies based on the process state. This state was queried when the ActivityRecord was reparented. But this happens too early and as a result the ActivityRecord always got a default timeout. Fix this by updating the timeout when attaching a process to ActivityRecord. Test: atest WmTests:ActivityRecordTests#testKeyDispatchTimeout Bug: 162542125 Change-Id: I85db6b652790affc85d3464cca98ff8da3bab73b