commit | 25ce9ed57f137dc0b21045ab90fe595640ebf926 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Feb 02 13:07:47 2012 -0800 |
committer | Jeff Sharkey <jsharkey@android.com> | Thu Feb 02 13:09:52 2012 -0800 |
tree | 5b0a3b6bf07232bf79d74e822161c7a07a86758a | |
parent | 88de70f3c5824acae7524a774f9d2e2a6d125eb9 [diff] |
Avoid NDC deadlock when re-arming network alert. When NDC delivers limitReached() event, NMS re-arms the alert, which makes another call back to NDC. If NDC already started processing another call, this causes deadlock. Fix this by re-arming on a handler thread. Bug: 5879848 Change-Id: I46fa78fe1f1122c5f31dd6020483e5ae89a9f39d