am d50066f8: invoke sendMessage instead of dispatchMessage to avoid deadlocks in ActivityManagerService
Merge commit 'd50066f8d2ab82c2c8ff305c86cc9b39eaca3c28' into eclair * commit 'd50066f8d2ab82c2c8ff305c86cc9b39eaca3c28': invoke sendMessage instead of dispatchMessage to avoid deadlocks in ActivityManagerService
This commit is contained in:
@@ -4825,7 +4825,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
|
|||||||
msg.arg1 = uid;
|
msg.arg1 = uid;
|
||||||
msg.arg2 = 0;
|
msg.arg2 = 0;
|
||||||
msg.obj = pkg;
|
msg.obj = pkg;
|
||||||
mHandler.dispatchMessage(msg);
|
mHandler.sendMessage(msg);
|
||||||
} else {
|
} else {
|
||||||
throw new SecurityException(callerUid + " cannot kill pkg: " +
|
throw new SecurityException(callerUid + " cannot kill pkg: " +
|
||||||
pkg);
|
pkg);
|
||||||
|
|||||||
Reference in New Issue
Block a user