OSDN Git Service

Fix deadlock when create alert window notification
authorWale Ogunwale <ogunwale@google.com>
Thu, 8 Jun 2017 23:51:48 +0000 (16:51 -0700)
committerWale Ogunwale <ogunwale@google.com>
Thu, 8 Jun 2017 23:51:48 +0000 (16:51 -0700)
commit4cd3f5c519d55ab9631d67576db1dc8989ff5651
tree4dcf988394501e0e6b3b9470179a30ca32263843
parent7925f817d0ea980ca4a56d1a5de2a5a084a7058b
Fix deadlock when create alert window notification

Don't hold WM lock when calling into notification manager which
can call into activity manager.

Test: Make sure alert window notification is displayed
Change-Id: Id8831878093f8079f815a830ff8acdfad99d48cb
Fixes: 62458061
services/core/java/com/android/server/wm/AlertWindowNotification.java