OSDN Git Service
(root)
/
android-x86
/
hardware-ril.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a206a0
)
Do not call rilc_thread_pool if there is no ril library
author
Roman Kiryanov
<rkir@google.com>
Wed, 20 Mar 2019 23:06:18 +0000
(16:06 -0700)
committer
Roman Kiryanov
<rkir@google.com>
Wed, 20 Mar 2019 23:35:32 +0000
(16:35 -0700)
rilc_thread_pool crashes if RIL_register is never called
because RIL_register sets the threadpool which
rilc_thread_pool joins to.
Test: make
Bug:
117327079
Change-Id: If249561375748d42f1b8593ac9794fdfa1b76d18
Signed-off-by: Roman Kiryanov <rkir@google.com>
rild/rild.c
patch
|
blob
|
history
diff --git
a/rild/rild.c
b/rild/rild.c
index
c554a9f
..
781db78
100644
(file)
--- a/
rild/rild.c
+++ b/
rild/rild.c
@@
-224,10
+224,9
@@
int main(int argc, char **argv) {
RLOGD("RIL_register_socket completed");
-done:
-
rilc_thread_pool();
+done:
RLOGD("RIL_Init starting sleep loop");
while (true) {
sleep(UINT32_MAX);