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

Commit e27c5bb6 authored by Amit Mahajan's avatar Amit Mahajan Committed by Automerger Merge Worker
Browse files

Merge "Set phoneId for SIM_STATE_CHANGED events" am: 05c15176

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/1618919

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7d6eb94f5a8b1f656ce00965a5e021cbfafc5ba7
parents b00943aa 05c15176
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());
        }
    }