OSDN Git Service

RIL occasionally stopps event loop on phone process crash
authorKazuhiro Ondo <kazuhiro.ondo@motorola.com>
Fri, 14 Oct 2011 22:50:58 +0000 (17:50 -0500)
committerJohn Huang <jsh@google.com>
Tue, 18 Oct 2011 23:59:27 +0000 (16:59 -0700)
commit5cdc1354de1e1b98347fe67c5fefdb0be7e0f589
treeb4d7c61acc42ac3a7f2962f8dcca1cd6b4689892
parentfa8d584ca7984bf7d73ff37c7c2bc1e0dfa5fb71
RIL occasionally stopps event loop on phone process crash

RIL occasionally exits from its event loop due to race condition
upon phone process crash. And there is no recovery mechanism
provided and causing permanent cellular data loss until reset.

The solution is simply to kill rild process to start over when
event loop exits for some reason.

Bug:5428218
Change-Id: I88a9b8e966158f0f943fe3d189d91b1352481d9b
libril/ril.cpp