commit | 4038724a536c990859866489195add7ed537006b | [log] [tgz] |
---|---|---|
author | Vinit Deshapnde <vinitd@google.com> | Tue Nov 12 15:36:37 2013 -0800 |
committer | Vinit Deshapnde <vinitd@google.com> | Tue Nov 12 15:36:37 2013 -0800 |
tree | bf1d2b0aa115f2a182e821294f9423bc5bb4f332 | |
parent | 105b9b05041ea6f1109d961d548f3dde2bd69501 [diff] |
Get rid of a race in NsdService in stopResolveService and getAddrInfo Both requests are made using same id; and there is a chance that stopResolve() is not fully completed when getAddrInfo() is issued. That results getAddrInfo() failure, because both are using same requestId. This change fixes this problem by creating a new unique id to call getAddrInfo() with. Bug: 11597153 Change-Id: I56bd78740e8a40bd31c52705dc797486aff53a50