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

Commit 181c5439 authored by Xiangyu/Malcolm Chen's avatar Xiangyu/Malcolm Chen Committed by Android (Google) Code Review
Browse files

Merge "Add null check of mMsgDecoder before disposing it." into rvc-dev

parents c5e33bb1 c691f692
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -266,8 +266,10 @@ public class CatService extends Handler implements AppInterface {
                mUiccController.unregisterForIccChanged(this);
                mUiccController = null;
            }
            if (mMsgDecoder != null) {
                mMsgDecoder.dispose();
                mMsgDecoder = null;
            }
            removeCallbacksAndMessages(null);
            if (sInstance != null) {
                if (mSlotId >= 0 && mSlotId < sInstance.length) {