We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9f061e2 + aeffc93 commit bc8bab8Copy full SHA for bc8bab8
telephony/java/com/android/internal/telephony/cat/CatService.java
@@ -169,8 +169,11 @@ private void handleRilMsg(RilMessage rilMsg) {
169
} catch (ClassCastException e) {
170
// for error handling : cast exception
171
CatLog.d(this, "Fail to parse proactive command");
172
- sendTerminalResponse(mCurrntCmd.mCmdDet, ResultCode.CMD_DATA_NOT_UNDERSTOOD,
+ // Don't send Terminal Resp if command detail is not available
173
+ if (mCurrntCmd != null) {
174
+ sendTerminalResponse(mCurrntCmd.mCmdDet, ResultCode.CMD_DATA_NOT_UNDERSTOOD,
175
false, 0x00, null);
176
+ }
177
break;
178
}
179
if (cmdParams != null) {
0 commit comments