зеркало из https://github.com/mozilla/gecko-dev.git
Bug 972265: Use connect delay in RIL IPC code, r=vyang
When trying to re-connect a socket, the RIL IPC code now respects the delay that is suggested by the UnixSocketConsumer.
This commit is contained in:
Родитель
df970eb457
Коммит
7faa5dbbe7
|
@ -377,7 +377,8 @@ RilConsumer::OnDisconnect()
|
|||
{
|
||||
CHROMIUM_LOG("RIL[%lu]: %s\n", mClientId, __FUNCTION__);
|
||||
if (!mShutdown) {
|
||||
ConnectSocket(new RilConnector(mClientId), mAddress.get(), 1000);
|
||||
ConnectSocket(new RilConnector(mClientId), mAddress.get(),
|
||||
GetSuggestedConnectDelayMs());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче