diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2018-05-06 07:22:36 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-05-06 07:22:36 +0000 |
commit | a4b1baddf4ecfff1c9a509730f0e462208923a4f (patch) | |
tree | 043031240d12ec6ceb137c23703f4c9a3c50da6e | |
parent | df2c40779020256be4db60ae89e06bcbcd94495a (diff) | |
parent | 456df1bf437a38bd1931da18b1322db9e792eb6a (diff) | |
download | platform_hardware_ril-a4b1baddf4ecfff1c9a509730f0e462208923a4f.tar.gz platform_hardware_ril-a4b1baddf4ecfff1c9a509730f0e462208923a4f.tar.bz2 platform_hardware_ril-a4b1baddf4ecfff1c9a509730f0e462208923a4f.zip |
Snap for 4765094 from 456df1bf437a38bd1931da18b1322db9e792eb6a to pi-release
Change-Id: Ib69e8d05717f20cf99207b15d033b49da57e9462
-rw-r--r-- | libril/ril_service.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libril/ril_service.cpp b/libril/ril_service.cpp index 47b0b9c3..b8862dc5 100644 --- a/libril/ril_service.cpp +++ b/libril/ril_service.cpp @@ -8500,6 +8500,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); @@ -8521,9 +8524,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() { |