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

Commit c57bd182 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Added slot index in area info broadcast" into rvc-dev am: 490eba35...

Merge "Added slot index in area info broadcast" into rvc-dev am: 490eba35 am: aa0e7e8d am: 7991e1fe am: f5b2f92b

Change-Id: I1c352890213d15e6f8a48e891839034d372e037a
parents 0577514d f5b2f92b
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -152,8 +152,12 @@ public class SimStatusDialogController implements LifecycleObserver, OnResume, O
    private final BroadcastReceiver mAreaInfoReceiver = new BroadcastReceiver() {
        @Override
        public void onReceive(Context context, Intent intent) {
            if (CellBroadcastIntents.ACTION_AREA_INFO_UPDATED.equals(intent.getAction())
                    && intent.getIntExtra(SubscriptionManager.EXTRA_SLOT_INDEX, 0)
                    == mSlotIndex) {
                updateAreaInfoText();
            }
        }
    };

    private PhoneStateListener mPhoneStateListener;
@@ -337,8 +341,7 @@ public class SimStatusDialogController implements LifecycleObserver, OnResume, O
        if (cellBroadcastService == null) return;
        try {
            mDialog.setText(OPERATOR_INFO_VALUE_ID,
                    cellBroadcastService.getCellBroadcastAreaInfo(
                            SimStatusDialogController.this.mSlotIndex));
                    cellBroadcastService.getCellBroadcastAreaInfo(mSlotIndex));

        } catch (RemoteException e) {
            Log.d(TAG, "Can't get area info. e=" + e);