Reduce acquiring WM lock when ANR happens

To avoid lock contention that delays to dump callstack if
window manager is also busy.

Bug: 287590545
Test: Trigger ANR
Change-Id: Ie1114775d2749993e478b1ab0f8b0c497d574d01
1 file changed