OSDN Git Service

Do not hold WM lock while closing animation transaction
authorJorim Jaggi <jjaggi@google.com>
Thu, 11 May 2017 14:27:06 +0000 (16:27 +0200)
committerJorim Jaggi <jjaggi@google.com>
Fri, 12 May 2017 11:59:55 +0000 (13:59 +0200)
commit9b19fd425dfb2ec125e231399938f56ae15ba813
tree41c2a9c050e6967199ee7c19577c9d69f19b9ec6
parent152f6c8e04ee42c8b41ab3f4a5acd21a77d41a87
Do not hold WM lock while closing animation transaction

Animation transactions can be blocking, leading to total
window manager starvation. Fix this by not holding lock.

Test: Double tap recents button, make sure it's always responsive
Change-Id: I8e09e04f243d2bfc09fb68097846a42e76c7cab5
Fixes: 38192114
services/core/java/com/android/server/wm/WindowAnimator.java