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

Commit 4a6419bb authored by Sridhar Dubbaka's avatar Sridhar Dubbaka Committed by Linux Build Service Account
Browse files

Msim:Use phoneId to get Channel50 message to updateareainfo.

In Multisim gettings, get received channel 50 message based on
phone id to updateareainfo in msim settings.

Change-Id: I1d104f48d38f63430daa5e7ed1e2fa06248da27d
CRs-Fixed: 732899
parent 7ecbf6f0
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ public class MSimSubscriptionStatus extends PreferenceActivity {
        addPreferencesFromResource(R.xml.device_info_subscription_status);

        // getting selected subscription
        int phoneId = getIntent().getIntExtra(PhoneConstants.SLOT_KEY,
        int phoneId = getIntent().getIntExtra(PhoneConstants.PHONE_KEY,
                SubscriptionManager.getPhoneId(SubscriptionManager.getDefaultSubId()));
        mPhone = PhoneFactory.getPhone(phoneId);
        Log.d("Status","OnCreate phoneId =" + phoneId);
@@ -238,7 +238,7 @@ public class MSimSubscriptionStatus extends PreferenceActivity {
                    CB_AREA_INFO_SENDER_PERMISSION, null);
            // Ask CellBroadcastReceiver to broadcast the latest area info received
            Intent getLatestIntent = new Intent(GET_LATEST_CB_AREA_INFO_ACTION);
            getLatestIntent.putExtra(PhoneConstants.SUBSCRIPTION_KEY, mPhone.getSubId());
            getLatestIntent.putExtra(PhoneConstants.PHONE_KEY, mPhone.getPhoneId());
            sendBroadcastAsUser(getLatestIntent, UserHandle.ALL,
                    CB_AREA_INFO_SENDER_PERMISSION);