summaryrefslogtreecommitdiffstats
path: root/rild
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-11-20 14:53:08 -0800
committerElliott Hughes <enh@google.com>2013-11-20 14:53:33 -0800
commit164d2052f1bd1a9fe98fe90ca18f87438cba2a81 (patch)
treeed8a65f25e2d2fbee33a9c72076d7aadf98789a2 /rild
parent478bfb9aad83c2c6e91d54c80f88dd44211c2576 (diff)
downloadandroid_hardware_ril-164d2052f1bd1a9fe98fe90ca18f87438cba2a81.tar.gz
android_hardware_ril-164d2052f1bd1a9fe98fe90ca18f87438cba2a81.tar.bz2
android_hardware_ril-164d2052f1bd1a9fe98fe90ca18f87438cba2a81.zip
Remove an outdated hack.
This is still a waste of your main thread, though. Change-Id: Ic904619b2e1065b2bab577070a73f8175c1a48f3
Diffstat (limited to 'rild')
-rw-r--r--rild/rild.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/rild/rild.c b/rild/rild.c
index e37c177..0ef5c87 100644
--- a/rild/rild.c
+++ b/rild/rild.c
@@ -289,9 +289,7 @@ OpenLib:
done:
- while(1) {
- // sleep(UINT32_MAX) seems to return immediately on bionic
- sleep(0x00ffffff);
+ while (true) {
+ sleep(UINT32_MAX);
}
}
-