summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid Build Role Account android-build-prod <android-build-team-robot@google.com>2018-05-08 22:01:07 +0000
committerAndroid Build Role Account android-build-prod <android-build-team-robot@google.com>2018-05-08 22:01:07 +0000
commit5c34862a2eaf2c754a4651670e237faa4fc59e05 (patch)
treed1cd6a0008dbc2c2011ef9db8900cbd313b33ff6
parent318eac68410c0177c6c9157a4a19d9f2f7869561 (diff)
parent41686ede2f9c0e4d97c5a5803dfb28df067f2e89 (diff)
downloadandroid_hardware_ril-5c34862a2eaf2c754a4651670e237faa4fc59e05.tar.gz
android_hardware_ril-5c34862a2eaf2c754a4651670e237faa4fc59e05.tar.bz2
android_hardware_ril-5c34862a2eaf2c754a4651670e237faa4fc59e05.zip
Snap for 4767666 from 41686ede2f9c0e4d97c5a5803dfb28df067f2e89 to p-keystone-qcom-release
Change-Id: Id7b1eda022739c5406d976da5ecae48c4ea99f06
-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() {