OSDN Git Service

Do not call rilc_thread_pool if there is no ril library
authorRoman Kiryanov <rkir@google.com>
Wed, 20 Mar 2019 23:06:18 +0000 (16:06 -0700)
committerRoman Kiryanov <rkir@google.com>
Wed, 20 Mar 2019 23:35:32 +0000 (16:35 -0700)
commitcc376ebdc57bcf8847cdfdf1c0c57a8e09092551
tree80bd904abc37e8a232d0027f6cab1608d4eb155c
parent8a206a0e27ff20b7d0071c8050c605e7d8affc2b
Do not call rilc_thread_pool if there is no ril library

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