commit | 35629b94bddf2c4d3903291899294594ded16817 | [log] [tgz] |
---|---|---|
author | Shuo Qian <shuoq@google.com> | Wed Sep 13 20:12:57 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Sep 13 20:12:57 2017 +0000 |
tree | 3075dcf6aa4d41f4496c16b0a76e80aa48d59201 | |
parent | fad08638299d4eb622a7caafde3fc872bf735807 [diff] | |
parent | 010de707971d1bacdacd51e7375b8ea5acb0580d [diff] |
Merge "Fix Sap Service"
diff --git a/libril/sap_service.cpp b/libril/sap_service.cpp index 2ac6745..ab43ee8 100644 --- a/libril/sap_service.cpp +++ b/libril/sap_service.cpp
@@ -776,6 +776,13 @@ return; } + if (messagePtr == NULL) { + RLOGE("processResponse: *messagePtr == NULL; msgId = %d; msgType = %d", + msgId, msgType); + sapImpl->sendFailedResponse(msgId, rsp->token, 0); + return; + } + RLOGD("processResponse: sapCallback != NULL; msgId = %d; msgType = %d", msgId, msgType);