summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2018-05-07 13:37:52 -0700
committerYifan Hong <elsk@google.com>2018-05-07 13:37:52 -0700
commit41686ede2f9c0e4d97c5a5803dfb28df067f2e89 (patch)
treed1cd6a0008dbc2c2011ef9db8900cbd313b33ff6
parent8ca23e6a4c424c4ce6edab1ce25c14d7b199ce8e (diff)
parenta4b1baddf4ecfff1c9a509730f0e462208923a4f (diff)
downloadandroid_hardware_ril-41686ede2f9c0e4d97c5a5803dfb28df067f2e89.tar.gz
android_hardware_ril-41686ede2f9c0e4d97c5a5803dfb28df067f2e89.tar.bz2
android_hardware_ril-41686ede2f9c0e4d97c5a5803dfb28df067f2e89.zip
Merge PPR1.180507.001
Change-Id: I115d94f645394c594190523031260a217eb5f69d
-rw-r--r--libril/ril_service.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libril/ril_service.cpp b/libril/ril_service.cpp
index cb8801d..473ef03 100644
--- a/libril/ril_service.cpp
+++ b/libril/ril_service.cpp
@@ -8509,6 +8509,9 @@ void radio::registerService(RIL_RadioFunctions *callbacks, CommandInfo *commands
simCount = SIM_COUNT;
#endif
+ s_vendorFunctions = callbacks;
+ s_commands = commands;
+
configureRpcThreadpool(1, true /* callerWillJoin */);
for (int i = 0; i < simCount; i++) {
pthread_rwlock_t *radioServiceRwlockPtr = getRadioServiceRwlock(i);
@@ -8530,9 +8533,6 @@ void radio::registerService(RIL_RadioFunctions *callbacks, CommandInfo *commands
ret = pthread_rwlock_unlock(radioServiceRwlockPtr);
assert(ret == 0);
}
-
- s_vendorFunctions = callbacks;
- s_commands = commands;
}
void rilc_thread_pool() {