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

Commit afddc18f authored by Taesu Lee's avatar Taesu Lee
Browse files

Set phoneId for SIM_STATE_CHANGED events



Test: build

Signed-off-by: default avatarTaesu Lee <taesu82.lee@samsung.com>
Change-Id: I2bbfb4814a8dcda73502d32adbaf7b097ef811b9
parent d7a7c14f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -790,7 +790,8 @@ public class TelephonyMetrics {
        Integer lastSimState = mLastSimState.get(phoneId);
        if (lastSimState == null || !lastSimState.equals(state)) {
            mLastSimState.put(phoneId, state);
            addTelephonyEvent(new TelephonyEventBuilder().setSimStateChange(mLastSimState).build());
            addTelephonyEvent(
                    new TelephonyEventBuilder(phoneId).setSimStateChange(mLastSimState).build());
        }
    }