Android-x86
Fork
Spenden

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-ril: Commit

hardware/ril


Commit MetaInfo

Revisioncc376ebdc57bcf8847cdfdf1c0c57a8e09092551 (tree)
Zeit2019-03-21 08:35:32
AutorRoman Kiryanov <rkir@goog...>
CommiterRoman Kiryanov

Log Message

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>

Ändern Zusammenfassung

Diff

--- a/rild/rild.c
+++ b/rild/rild.c
@@ -224,10 +224,9 @@ int main(int argc, char **argv) {
224224
225225 RLOGD("RIL_register_socket completed");
226226
227-done:
228-
229227 rilc_thread_pool();
230228
229+done:
231230 RLOGD("RIL_Init starting sleep loop");
232231 while (true) {
233232 sleep(UINT32_MAX);
Show on old repository browser