OSDN Git Service
(root)
/
android-x86
/
hardware-ril.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RIL occasionally stopps event loop on phone process crash
[android-x86/hardware-ril.git]
/
libril
/
ril.cpp
diff --git
a/libril/ril.cpp
b/libril/ril.cpp
index
dec5507
..
7998356
100644
(file)
--- a/
libril/ril.cpp
+++ b/
libril/ril.cpp
@@
-2609,6
+2609,8
@@
eventLoop(void *param) {
// Only returns on error
ril_event_loop();
LOGE ("error in event_loop_base errno:%d", errno);
+ // kill self to restart on error
+ kill(0, SIGKILL);
return NULL;
}