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

Commit 83b6676e authored by Yujing Gu's avatar Yujing Gu Committed by Grace Chen
Browse files

Add the slot id when broadcasting card state to STK app.

Add the slot id when broadcasting card state to STK app.

Bug: 38010849
Change-Id: Iad6df264a0223c5097a1983ae13911485a6d269e
parent d8cd2501
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -881,8 +881,9 @@ public class CatService extends Handler implements AppInterface {
        // This sends an intent with CARD_ABSENT (0 - false) /CARD_PRESENT (1 - true).
        intent.putExtra(AppInterface.CARD_STATUS, cardPresent);
        intent.setComponent(AppInterface.getDefaultSTKApplication());
        intent.putExtra("SLOT_ID", mSlotId);
        CatLog.d(this, "Sending Card Status: "
                + cardState + " " + "cardPresent: " + cardPresent);
                + cardState + " " + "cardPresent: " + cardPresent +  "SLOT_ID: " +  mSlotId);
        mContext.sendBroadcast(intent, AppInterface.STK_PERMISSION);
    }