Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7eb859ff authored by arunvoddu's avatar arunvoddu
Browse files

Null safety check to avoid NPE in rare thread sync issue.

Bug: 272637077
Test: atest verified
Change-Id: Ib765ed0d6c5dc04e479c2bcc96e9f83a9e8fa96d
parent 55b6e4f4
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1010,7 +1010,11 @@ public class CatService extends Handler implements AppInterface {
                    }
                }
            }
            if (mMsgDecoder != null) {
                mMsgDecoder.sendStartDecodingMessageParams(new RilMessage(msg.what, data));
            } else {
                CatLog.e(this, "Error in handleMessage (" + msg.what + ") mMsgDecoder is NULL");
            }
            break;
        case MSG_ID_CALL_SETUP:
            mMsgDecoder.sendStartDecodingMessageParams(new RilMessage(msg.what, null));