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

Commit 21e651ba authored by Arun kumar Voddu's avatar Arun kumar Voddu Committed by Android (Google) Code Review
Browse files

Merge "Null safety check to avoid NPE in rare thread sync issue." into udc-dev

parents 03add08a 7eb859ff
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));