commit | 9a21249a6c86cc37f915be7830715981c8bf691a | [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 | 34984b884e7e9ccecad751f23ef460384db5e877 | |
parent | 2ed12477de26cbbf79e185a600ff0a197b8b6636 [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