OSDN Git Service

Fix bug in getCallWaiting api.
authorSanket Padawe <sanketpadawe@google.com>
Wed, 8 Mar 2017 01:21:05 +0000 (17:21 -0800)
committerSanket Padawe <sanketpadawe@google.com>
Wed, 8 Mar 2017 01:28:38 +0000 (17:28 -0800)
Test: Build and local VTS.
Bug: 32020264
Change-Id: I9933b2d45a124e4f0704b987af49bab3bdcb3418

libril/ril_service.cpp

index c186459..7e8ee4f 100644 (file)
@@ -3607,8 +3607,8 @@ int radio::getCallWaitingResponse(android::Parcel &p, int slotId, int requestNum
             enable = pInt[0] == 1 ? true : false;
             serviceClass = pInt[1];
         }
-        Return<void> retStatus = radioService[slotId]->mRadioResponse->getClirResponse(responseInfo,
-                enable, serviceClass);
+        Return<void> retStatus = radioService[slotId]->mRadioResponse->getCallWaitingResponse(
+                responseInfo, enable, serviceClass);
         radioService[slotId]->checkReturnStatus(retStatus);
     } else {
         RLOGE("radio::getCallWaitingResponse: radioService[%d]->mRadioResponse == NULL", slotId);