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

Commit 59a14aab authored by Sungmin Choi's avatar Sungmin Choi Committed by Sanket Padawe
Browse files

uicc: Add FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT intent flag on CatCmdmessage



If framework get the SETUP_MENU event before geting the BOOT COMPLETE,
STK menu intent is missing. Then User cannot see the STK menu on that seen.
Thus FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT flag is added for this case.

Bug: 29881312
Change-Id: I1e91e6ee6eae15d0289a739a81e496956eb2e9a1
Signed-off-by: default avatarhoonsung.park <hoonsung.park@lge.com>
Signed-off-by: default avatarSungmin Choi <sungmin.choi@lge.com>
parent 2c4daadc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -511,6 +511,7 @@ public class CatService extends Handler implements AppInterface {

    private void broadcastCatCmdIntent(CatCmdMessage cmdMsg) {
        Intent intent = new Intent(AppInterface.CAT_CMD_ACTION);
        intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
        intent.putExtra("STK CMD", cmdMsg);
        intent.putExtra("SLOT_ID", mSlotId);
        CatLog.d(this, "Sending CmdMsg: " + cmdMsg+ " on slotid:" + mSlotId);