commit | d50066f8d2ab82c2c8ff305c86cc9b39eaca3c28 | [log] [tgz] |
---|---|---|
author | Suchi Amalapurapu <asuchitra@google.com> | Tue Aug 18 16:57:41 2009 -0700 |
committer | Suchi Amalapurapu <asuchitra@google.com> | Tue Aug 18 17:03:10 2009 -0700 |
tree | 66749bef2d23b9819e3d57a9bb7d815e08d28863 | |
parent | ad4bc607bd236dd9b06df9cf89dc5e14541ff66c [diff] [blame] |
invoke sendMessage instead of dispatchMessage to avoid deadlocks in ActivityManagerService
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java index 14c10b9..30a9c59 100644 --- a/services/java/com/android/server/am/ActivityManagerService.java +++ b/services/java/com/android/server/am/ActivityManagerService.java
@@ -4818,7 +4818,7 @@ msg.arg1 = uid; msg.arg2 = 0; msg.obj = pkg; - mHandler.dispatchMessage(msg); + mHandler.sendMessage(msg); } else { throw new SecurityException(callerUid + " cannot kill pkg: " + pkg);