msim: network mode changes (1/2)#1
Open
adindotdev wants to merge 26 commits intoSlimSaber:cm-12.1from
adindotdev:cm-12.1
Open
msim: network mode changes (1/2)#1adindotdev wants to merge 26 commits intoSlimSaber:cm-12.1from adindotdev:cm-12.1
adindotdev wants to merge 26 commits intoSlimSaber:cm-12.1from
adindotdev:cm-12.1
Conversation
…hows incorrect in settings. ModemBindingpPolicyHandler sends pref network mode to RIL, but even if it fails, it also updates network mode to telephony DB. Update the DB only on success of setting network mode for all subs. CRs-Fixed: 789724 Change-Id: I1121d75226415d3b08c58a4aa1b6a3a060712511
CDMA data remains in attached state irrespective of ALLOW_DATA true/false requests. Hence when switching DDS from G to C, there won't be any attached event on C subscription and DcSwitchStateMachine remains in Attaching state. To fix this, directly move from Attaching to Attached state if data is already registered. Change DDS switch implementation to set the new DDS setting only after DctController completes switch operation. Remove extra setDataAllowed call from DcSwitchStateMachine Attaching state. Change-Id: I4ee3ca59e874c6ac2de8d46d3e5f9358d9cf0b0d CRs-Fixed: 812478
If sub id is not sent by client as part of NtworkCapabilities, ConnectivityService sends the request to all network factories. The network factory associated with DDS should accept it and all others should ignore it Change-Id: I3e032b9401390fee767278b3950963e3bac613f1
Pass user preferred subscription id on oem hook request for on demand DDS switch. RIL uses this information to send DUAL_STANDBY_PREF_REQUEST down to the modem, based on which the modem stack is selected. CRs-Fixed: 806933 Change-Id: I883bce818652253feae14a3be52eb4d510731277
Change-Id: I38b5dcafe7454735f8c1eb25da452be5a42148e7 CRs-Fixed: 818577
The default subId for a phone without the sim card is -1 but the default value of DDS when there is no sim is -1000. As a result, even when there is no sim it takes 30 seconds to turn on APM. Fix this by checking for DDS to be valid CRs-Fixed: 815010 Change-Id: Ie6abb74065b718cebe0fbe06501c48677095bee8
Move registering of phone events to constructor to avoid duplicate registrations. Unregister from phone events while disposing DcTracker. Change-Id: I6ecf1227627b64b2cb505c120059cdcba6da70eb CRs-Fixed: 834049
DDS switch oemhook message sent twice for on demand PDP request. CRs-Fixed: 840589 Change-Id: I62bb0f9b69814a55db3c7b4d4317cd747eb1bb15
The first intent will be replaced by next one, but sometimes they have diffrent phone id. Especially,in multi Sim,Sim0 will miss this broadcast. Change-Id: Id71bb8e3e2bec58ed752f989a022ad3d1e87e464
…rs is enabled When a private number comes through, its value is either null or empty. Make sure that if the user has blocking of unknown numbers enabled, that its blocked Change-Id: Ica629215f584572c701fd10464d8828c3f099694
This reverts commit 6060db7. Change-Id: I0aff1f6bc14dcb878d65af70d36e12b7b800ab67
The sub ID is part of the broadcast's extras, so the broadcast needs to be refreshed if it changes. Also move the PLMN/SPN localization from Keyguard to here so that the localized name is written to the SIM DB. Change-Id: I7e4ee04b7b9a0ddcaebad89a3c68661accd3f1c5
Need to parse the home operator numeric w.r.t. the phoneId. Looks like this bug was introduced with a merge from caf. Change-Id: Ibee79ae193eb59e952c7cc63faaae3890230ab8e
Fixes CTS test Change-Id: Idc9b38efd4e8fc56680c10ae46605510c29bda4c
…acks Looks like some carriers use an empty string instead of just not creating the fields :( Change-Id: I5124dc8d1c838cd64ab54ad14e6ed74124bab764
* Move spn override function to common IccRecords class to share between SIMRecords and RUIMRecords * Fix a few places where we set PROPERTY_ICC_OPERATOR_ALPHA without using setTelephonyProperty, which is wrong for msim * Add spn override to onAllRecordsLoaded() in RUIMRecords since IMSI record is loaded after SPN record issue-id: RENDANG-421 Change-Id: I76731ec8355a02cd94f9b218fecb16dfa181063a
mIccRecords is initialized from CSIM in CDMAPhone if available, otherwise it falls back to USIM. Read subscriber ID from here so that we prefer CSIM. Change-Id: I603518a032883d0541d9dccd81621796ab5892d6 (cherry picked from commit 7cb74ed59abe204608e1b563b042a85403fd3da8)
When SIM cards are changed, the attach profile set in modem is not changed until data is registered. Some times this leads to permanent LTE attach failure on LTE only networks. To fix this, de couple set initial attach apn from the setup data call apn list. Initial attach apn is always queried from 3GPP sim records as it is applicable only for LTE attach. DcTracker registers with 3GPP Iccrecords for records loaded event exclusively for setting initial attach apn. This makes set initial attach apn operation depend only on sim records loaded event irrespective of the data registration state. Change-Id: I4d7b1fe32f7c2ac1b5b0672e7c03bb489d8de596 CRs-Fixed: 740330
Change-Id: I2570a67f1b5d43ae101c0c94d85be19d8c243862
And make stk commands protected. Bug: 21697171 Change-Id: I7649c7341428194963ac74e9ae622dfa76ea738b
Issue-Id: RENDANG-347 Change-Id: Ie0cef484ed6e84593333e75b35abb5eb87793af7 (cherry picked from commit 1cddbc0f0ee83c4518b4696c971613be5444557a)
* Set the active data sim to the preferred network mode * Set the other sim to 2G / GSM only Ref: CYNGNOS-291 Change-Id: I5c753cd5cfd8a4f832b18fd488a080810763c283
* To track what the user set for the particular sub independent of the currently set network mode (i.e. PREFERRED_NETWORK_MODE) * Useful on MSIM where the modem may only support 2G on one of the slots, so the preferred network mode (and the NETWORK_MODE column) would not always reflect the user desired network mode. Ref: CYNGNOS-291 Change-Id: Ic6cc66d3dc2277f920785679c7fcc6e3c7581570
* Set the active data sim to the preferred network mode * Set the other sim to 2G / GSM only Ref: CYNGNOS-291 Change-Id: I5c753cd5cfd8a4f832b18fd488a080810763c283
* To track what the user set for the particular sub independent of the currently set network mode (i.e. PREFERRED_NETWORK_MODE) * Useful on MSIM where the modem may only support 2G on one of the slots, so the preferred network mode (and the NETWORK_MODE column) would not always reflect the user desired network mode. Ref: CYNGNOS-291 Change-Id: Ic6cc66d3dc2277f920785679c7fcc6e3c7581570
d373e43 to
6ff91ff
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.