4 years ago[DS] Correct the access method for telephony system property
Legler Wu [Thu, 22 Jan 2015 19:09:03 +0000]
[DS] Correct the access method for telephony system property

Revise the method to access telephony system property.
Add several PROPERTY_XXX_XXX_MSIM for MSIM type system properties. If
caller use the old one, it will be dispatched to new one and get by
default phone id.

Bug: 18675498
Change-Id: I68b4de1817bb5a34d4a54685332f856e79a39d60

4 years agoMerge "Changes to make sure READ_PHONE_STATE permission is not needed to send SMS...
Amit Mahajan [Fri, 30 Jan 2015 00:52:36 +0000]
Merge "Changes to make sure READ_PHONE_STATE permission is not needed to send SMS." into lmp-mr1-dev

4 years agoMerge "Suppress logging to avoid showing phone number." into lmp-mr1-dev
Sanket Padawe [Thu, 29 Jan 2015 21:57:30 +0000]
Merge "Suppress logging to avoid showing phone number." into lmp-mr1-dev

4 years agoSuppress logging to avoid showing phone number.
Sanket Padawe [Thu, 29 Jan 2015 19:22:36 +0000]
Suppress logging to avoid showing phone number.

Bug: 19193581
Change-Id: If8e35b6c8386a0e92cd1e89172b6dd1f0c220bc1

4 years agoChanges to make sure READ_PHONE_STATE permission is not needed to send SMS.
Amit Mahajan [Thu, 29 Jan 2015 02:08:59 +0000]
Changes to make sure READ_PHONE_STATE permission is not needed to send SMS.

Bug: 19112332
Change-Id: I7da30ebcebaf57f713acc6938626930dbc51d1f2

4 years agoMerge "Check line1number override and use it instead for subscription." into lmp...
Junda Liu [Thu, 29 Jan 2015 02:36:11 +0000]
Merge "Check line1number override and use it instead for subscription." into lmp-mr1-dev

4 years agoMerge "Change getDeviceId to take phoneId." into lmp-mr1-dev
Stuart Scott [Thu, 29 Jan 2015 01:55:49 +0000]
Merge "Change getDeviceId to take phoneId." into lmp-mr1-dev

4 years agoMerge "Handle network change messages when phone tries to switch to GSM from CDMA...
Sanket Padawe [Thu, 29 Jan 2015 01:23:31 +0000]
Merge "Handle network change messages when phone tries to switch to GSM from CDMA." into lmp-mr1-dev

4 years agoHandle network change messages when phone tries to switch to GSM from CDMA.
Sanket Padawe [Thu, 29 Jan 2015 00:53:04 +0000]
Handle network change messages when phone tries to switch to GSM from CDMA.

Bug: 19165700
Change-Id: I995308853b04db29e76e87303beec02ff32f231e

4 years agoMerge "Fix dump to not require extra permissions." into lmp-mr1-dev
Robert Greenwalt [Thu, 29 Jan 2015 00:37:57 +0000]
Merge "Fix dump to not require extra permissions." into lmp-mr1-dev

4 years agoFix dump to not require extra permissions.
Robert Greenwalt [Thu, 29 Jan 2015 00:26:57 +0000]
Fix dump to not require extra permissions.

Otherwise bugreports fail to collect the information.
Alternatively we could require you have the dump permission
AND whatever else, but that seems silly - you already have
permission to collect system dumps so they should work.

Change-Id: I0f6bf3029f6230c759b94e04235d32c7a06ccea3

4 years agoCheck line1number override and use it instead for subscription.
Junda Liu [Wed, 28 Jan 2015 22:10:17 +0000]
Check line1number override and use it instead for subscription.

Bug: b/19143556
Change-Id: I7bceea2ed39a075e66db2a5487296d4d33e2a941

4 years agoMerge "Sprint: MMS cannot be sent in the UK" into lmp-mr1-dev
xinhe [Wed, 28 Jan 2015 21:42:05 +0000]
Merge "Sprint: MMS cannot be sent in the UK" into lmp-mr1-dev

4 years agoChange getDeviceId to take phoneId.
Stuart Scott [Wed, 28 Jan 2015 19:32:04 +0000]
Change getDeviceId to take phoneId.

Change-Id: I0aec0d95c372c9bf65939310f0c85baaf526b0d6

4 years agoSprint: MMS cannot be sent in the UK
xinhe [Wed, 28 Jan 2015 18:32:47 +0000]
Sprint: MMS cannot be sent in the UK

     This is due to Sprint network at UK is actually GSM/UMTS. Thus we need GSM phone with CSIM to provide Nai too.

Change-Id: Iffe7dc2bee9c93cddfb4c94dcf477f2474d71ea8

4 years agoFix regression that stores data SMS automatically
Ye Wen [Tue, 27 Jan 2015 00:31:34 +0000]
Fix regression that stores data SMS automatically

A previous CL (ag/586092) accidentally auto persists data SMS sent by
non-default SMS app (which should only do that for text SMS).


Change-Id: I2f907b22aea2ce01bae3455a656f0e5a31978328

4 years agoCorrecting issue where video call icon shows for all calls.
Tyler Gunn [Mon, 26 Jan 2015 21:43:58 +0000]
Correcting issue where video call icon shows for all calls.

The issue is in the ImsPhoneConnection code which checks for the
VideoState of the current call.  There was some work done at the RIL
level to restructure what the various ImsCallProfile instances mean.
When this code was written, getLocalCallProfile() was intended to refer
to the capabilities of the current call.  This has since changed so that
there are 3 profiles:
getCallProfile() -- the actual profile.
getLocalCallProfile() -- what the local device supports.
getRemoteCallProfile() -- what the remote device supports.

On a video capable device, getLocalCallProfile() appears to now return
DO NOT MERGE "Video", where it did not in the past.

There must have been a change in the modem code recently which has caused
this to show up now (where it was not an issue in the past).

Bug: 19144923
Change-Id: If58d58a073feb05e3509570eaac4dc02749ca212
(cherry picked from commit 1259a64380b7943d0dfe965ee721b4d29ee662ce)

4 years agoMerge "Change to append subId to network selection related sharedPreferences." into...
Amit Mahajan [Fri, 23 Jan 2015 18:40:26 +0000]
Merge "Change to append subId to network selection related sharedPreferences." into lmp-mr1-dev

4 years agoMerge "IMS:silent redial/srvcc call cleanup." into lmp-mr1-dev
Pavel Zhamaitsiak [Fri, 23 Jan 2015 17:33:52 +0000]
Merge "IMS:silent redial/srvcc call cleanup." into lmp-mr1-dev

4 years agoIMS:silent redial/srvcc call cleanup.
Libin.Tang@motorola.com [Tue, 20 Jan 2015 16:18:14 +0000]
IMS:silent redial/srvcc call cleanup.

When silent redial or srvcc occurs. the IMSPhone call state is not set to idle
even after the call is ended. Also, the mConnection in mHandoverCall is not
cleaned up. This CL is to fix these 2 issues.

Bug:  19035679
Change-Id: I6bee704e2d7d8bf05ca1a910d25af4a02347328b

4 years agoFix the issue that Volte call is not cleaned up properly from telephony
Libin.Tang@motorola.com [Wed, 21 Jan 2015 04:14:55 +0000]
Fix the issue that Volte call is not cleaned up properly from telephony
framework when call failure is notified through dial command response.

Bug: 19054326
Change-Id: I09feb74b36244fed05a59bb1e11bb32e08fa63cf

4 years agoMerge "Add an API to access the CDMAPhone/GSMPhone call tracker state for DCTracker...
Pavel Zhamaitsiak [Fri, 23 Jan 2015 01:41:32 +0000]
Merge "Add an API to access the CDMAPhone/GSMPhone call tracker state for DCTracker to check" into lmp-mr1-dev

4 years agoRemove _REPLACE_PENDING flag from SIM_CHANGED.
Robert Greenwalt [Thu, 22 Jan 2015 02:08:35 +0000]

This flag is useful if the bcast is a complete snapshot of state
but in multisim it's only half of the story and was causing us
to lose state info when different sim bcasts were close together.

This should be thought about and/or reverted in the future (b/19100123).

Change-Id: I912274b215d41665a8c179d74aa7f1b897985799

4 years agoMerge "Fixing resume of FG call after failure to merge IMS calls." into lmp-mr1-dev
Tyler Gunn [Wed, 21 Jan 2015 23:32:56 +0000]
Merge "Fixing resume of FG call after failure to merge IMS calls." into lmp-mr1-dev

4 years agoChange to append subId to network selection related sharedPreferences.
Amit Mahajan [Fri, 16 Jan 2015 00:03:32 +0000]
Change to append subId to network selection related sharedPreferences.

Bug: 19023266
Change-Id: Ia7b2ac5b37d5abb1231288caf923336bf0bec9e1

4 years agoAdd an API to access the CDMAPhone/GSMPhone call tracker state for DCTracker to check
Libin.Tang@motorola.com [Tue, 20 Jan 2015 17:49:45 +0000]
Add an API to access the CDMAPhone/GSMPhone call tracker state for DCTracker to check

As concurrent voice/data is not supported for all RATs, the DCTracker checks
the default phone's call state through getState API as one of the conditions
to set up data call.
For device supports VOLTE, the default phone's getState reflects the
default phone(CDMAPhone/GSMPhone) and IMS phone call state.
So the data call can't set up if the VOLTE call is in progress.
As IMSPhone call state should not impact the data call setup, this CL is
to add an API to access the CDMAPhone/GSMPhone call tracker state for
DCTracker to check.

Bug: 19090488
Change-Id: I96bb29f80d81fa6b39e2e05f1d7f47a72244ed9b

4 years agoDon't send SIM_STATE_CHANGED before boot.
Shishir Agrawal [Tue, 20 Jan 2015 23:42:47 +0000]
Don't send SIM_STATE_CHANGED before boot.

Missed call point in ag/607433.

Bug: 18802536
Change-Id: I42ffc2d16944096573a4a45dba0b6607e8829e05

4 years agoMerge "Don't launch broadcast receiver processes during boot" into lmp-mr1-dev
Christopher Tate [Tue, 20 Jan 2015 22:54:50 +0000]
Merge "Don't launch broadcast receiver processes during boot" into lmp-mr1-dev

4 years agoDon't launch broadcast receiver processes during boot
Christopher Tate [Tue, 20 Jan 2015 22:13:48 +0000]
Don't launch broadcast receiver processes during boot

Broadcasts that can be sent before the boot process has completed must
be restricted to registered receivers, at least while still in the
middle of booting.

Bug 19060618

Change-Id: If920de397a6a735d6c525bf314fb2f718393576e

4 years agoRevert "Make SubscriptionController thread safe and some cleanup."
Stuart Scott [Tue, 20 Jan 2015 18:27:50 +0000]
Revert "Make SubscriptionController thread safe and some cleanup."

This reverts commit f34c3ae44f20f7454cda82628e8d23bff3198130.

Change-Id: Iff8e99429565f8b43d4cbf5c8457e25691ba626c

4 years agoMake UICC code subID-less.
Shishir Agrawal [Tue, 13 Jan 2015 22:45:35 +0000]
Make UICC code subID-less.

MSIM code introduced code in the UICC objects that refer to the subIds.
This is potentially very dangerous becuase subIds are only initialized after
the UICC object is completely initialized. Hence using subId in the UICC code
could lead to lots of properties being not set correctly.

The new code, uses the phoneId everywhere within the UICC code, which is
initialized when the UICC object is created and will remain constant for the
lifetime of the UICC object.

Bug: 18748407
Change-Id: I1f50abc40b8592751cdeca2de2c76ac9f2d40768

4 years agoMerge "Change to update carrier text after subId is updated." into lmp-mr1-dev
Amit Mahajan [Fri, 16 Jan 2015 01:03:08 +0000]
Merge "Change to update carrier text after subId is updated." into lmp-mr1-dev

4 years agoFixing resume of FG call after failure to merge IMS calls.
Tyler Gunn [Thu, 15 Jan 2015 21:43:14 +0000]
Fixing resume of FG call after failure to merge IMS calls.

The problem was due to a bug in switchWaitingOrHoldingAndActive.  When
we start a swap between FG and BG calls, a flag mSwitchingFgAndBgCalls is
set so that we can detect situations where the swap fails and "unswap" the

The original switchWaitingOrHoldingAndActive which occurs when dialing out
the new call to add to the conference was failing to toggle
mSwitchingFgAndBgCalls back off because no onCallResume is received (this
is where the flag was turned off in the past).

To fix this I reset the mSwitchingFgAndBgCalls flag when we get an unhold
and do not request a resume.

Bug: 19034876
Change-Id: If9f2360bbf3d7294b856ab021e3a0a8c46f2d928

4 years agoChange to reset network settings on SIM change instead of IMSI change.
Amit Mahajan [Thu, 15 Jan 2015 01:51:37 +0000]
Change to reset network settings on SIM change instead of IMSI change.

Bug: 19012822
Change-Id: I22403636d36282c6d9a7c7063640051c93afea5b

4 years agoChange to update carrier text after subId is updated.
Amit Mahajan [Thu, 15 Jan 2015 01:15:29 +0000]
Change to update carrier text after subId is updated.

Bug: 18752574
Change-Id: I9cb8b7d26fca1654bd2323bd5555a1cfc4e9877d

4 years agoMerge "Make SubscriptionController thread safe and some cleanup." into lmp-mr1-dev
Wink Saville [Wed, 14 Jan 2015 19:40:07 +0000]
Merge "Make SubscriptionController thread safe and some cleanup." into lmp-mr1-dev

4 years agoMerge "[DS] Load SPN from System or Oem image" into lmp-mr1-dev
Stuart Scott [Wed, 14 Jan 2015 18:44:55 +0000]
Merge "[DS] Load SPN from System or Oem image" into lmp-mr1-dev

4 years agoMake SubscriptionController thread safe and some cleanup.
Wink Saville [Mon, 12 Jan 2015 23:35:30 +0000]
Make SubscriptionController thread safe and some cleanup.

Use synchronized(mLock) on all public methods except getInstance which
is now synchronized on the class.

Change all members variables to private and non-static except sInstance
which will remain static.

Reduce logging in SubscriptionController.

Bug: 18716459
Change-Id: I679a7f184359ae8182c61308694354138a808b43

4 years agoMerge "Add additional debug logging." into lmp-mr1-dev
Wink Saville [Wed, 14 Jan 2015 00:51:52 +0000]
Merge "Add additional debug logging." into lmp-mr1-dev

4 years agoMerge "Fix for call timer resetting when starting IMS conference call. 2/4" into...
Tyler Gunn [Tue, 13 Jan 2015 20:42:48 +0000]
Merge "Fix for call timer resetting when starting IMS conference call. 2/4" into lmp-mr1-dev

4 years ago[DS] Load SPN from System or Oem image
Legler Wu [Mon, 29 Dec 2014 05:44:07 +0000]
[DS] Load SPN from System or Oem image

If the timestamp of spns-conf.xml in Oem image is greater than the
one in system image then load apn from OEM image.

Bug: 18692956
Change-Id: I9c5a661231184e594871cc670eda99f99907eb73

4 years agoRename reg/unreg OnSubscriptionsChangedListener.
Wink Saville [Tue, 13 Jan 2015 00:50:09 +0000]
Rename reg/unreg OnSubscriptionsChangedListener.

To addOnSubscriptionsChangedListener and

Bug: 18984103
Change-Id: I6636905093812af89c1c3702840e44c8c5ea891f

4 years agoAdd additional debug logging.
Wink Saville [Mon, 12 Jan 2015 21:17:38 +0000]
Add additional debug logging.

Bug: 18950975
Change-Id: I2d826dc4c355d7b940fee90f1bdff946128166e6

4 years agoIMS: fix ImsPhoneConnection wakelock stuck
Libin.Tang@motorola.com [Sat, 10 Jan 2015 19:36:29 +0000]
IMS: fix ImsPhoneConnection wakelock stuck
Bug: 18965642

Change-Id: If708a0cde665fd9225138bf07db7d27e2cd36709

4 years agoMerge "Assisted dialing support of Multi-part SMS" into lmp-mr1-dev
Amit Mahajan [Mon, 12 Jan 2015 19:59:51 +0000]
Merge "Assisted dialing support of Multi-part SMS" into lmp-mr1-dev

4 years agoAssisted dialing support of Multi-part SMS
Xia Ying [Fri, 9 Jan 2015 01:12:52 +0000]
Assisted dialing support of Multi-part SMS

Bug: 18951323
Change-Id: I55eff2d5c7b8447acf0d2fc067ea443c34febc49

4 years agoFix for call timer resetting when starting IMS conference call. 2/4
Tyler Gunn [Fri, 9 Jan 2015 23:54:23 +0000]
Fix for call timer resetting when starting IMS conference call. 2/4

- Added support in Conference for specifying the connect time when the
conference is created.

Bug: 18959443
Change-Id: Id29f7ba878610a0a4eaf7bbd592f344af4c0ffc4

4 years agoChange to not call setLine1Number() when display number is updated in
Amit Mahajan [Fri, 9 Jan 2015 22:46:14 +0000]
Change to not call setLine1Number() when display number is updated in

Bug: 18957504
Change-Id: I83637b377d4a3af9eae1aee454da19be8a00496d

4 years agoMerge "Make getDefaultSubId smarter and handle data only devices." into lmp-mr1-dev
Wink Saville [Thu, 8 Jan 2015 23:37:41 +0000]
Merge "Make getDefaultSubId smarter and handle data only devices." into lmp-mr1-dev

4 years agoMerge "“Pending” SMS is not sent automatically after airplane mode is turned...
Amit Mahajan [Thu, 8 Jan 2015 23:37:10 +0000]
Merge "“Pending” SMS is not sent automatically after airplane mode is turned off with VZW sim card" into lmp-mr1-dev

4 years agoMake getDefaultSubId smarter and handle data only devices.
Wink Saville [Thu, 8 Jan 2015 22:55:00 +0000]
Make getDefaultSubId smarter and handle data only devices.

Bug: 18919382
Change-Id: I9409d550cd4c3ef7bba64ca69ae0205ec3be3fec

4 years agoMerge "Have ServiceStateTrackers update Plmn/Spn directly" into lmp-mr1-dev
Jason Monk [Thu, 8 Jan 2015 15:06:14 +0000]
Merge "Have ServiceStateTrackers update Plmn/Spn directly" into lmp-mr1-dev

4 years agoHave ServiceStateTrackers update Plmn/Spn directly
Jason Monk [Wed, 10 Dec 2014 18:18:16 +0000]
Have ServiceStateTrackers update Plmn/Spn directly

It seems that somehow the info from the ServiceState trackers is
getting out of sync with the Subscription database.  To avoid this
update the info directly rather than going through a sticky broadcast.

Bug: 18752574
Change-Id: I66a3cb30df6478b7313230252ff2560946297d47

4 years agoMerge "Change to update CFI after subId has been updated." into lmp-mr1-dev
Amit Mahajan [Wed, 7 Jan 2015 20:47:14 +0000]
Merge "Change to update CFI after subId has been updated." into lmp-mr1-dev

4 years agoChange to update CFI after subId has been updated.
Amit Mahajan [Wed, 7 Jan 2015 01:49:59 +0000]
Change to update CFI after subId has been updated.

Bug: 18784534
Change-Id: Ib2fc4af2bc036129ac1b8ac0fa6c018c479e3927

4 years agoMerge "Change to update phone # in subInfo when RuimRecords have been read." into...
Amit Mahajan [Wed, 7 Jan 2015 20:32:18 +0000]
Merge "Change to update phone # in subInfo when RuimRecords have been read." into lmp-mr1-dev

4 years agoChange to update phone # in subInfo when RuimRecords have been read.
Amit Mahajan [Tue, 6 Jan 2015 19:24:51 +0000]
Change to update phone # in subInfo when RuimRecords have been read.

Issue was seen because both SIMRecords and RuimRecords are read for CDMA
but subInfo is updated when SIMRecords are read. Phone # is updated
based on RuimRecords but subInfo is not updated then. Change is to call
an API to update # in subInfo after RuimRecords are read.

Bug: 18789473
Change-Id: I70f521e73dda6b2849e0c477cc8de639d4281b84

4 years agoOn apn change, only clean up those data connection using the updated
Hui Wang [Tue, 6 Jan 2015 21:47:32 +0000]
On apn change, only clean up those data connection using the updated
apn setting

Bug: 18923165
Change-Id: I89a5772deb97437032edf642fdaa104eb4ed558e

4 years agoMerge "Data roaming/enable settings should be per phone on a single SIM device."...
Shishir Agrawal [Wed, 7 Jan 2015 00:12:04 +0000]
Merge "Data roaming/enable settings should be per phone on a single SIM device." into lmp-mr1-dev

4 years agoData roaming/enable settings should be per phone on a single SIM device.
Shishir Agrawal [Tue, 6 Jan 2015 22:03:37 +0000]
Data roaming/enable settings should be per phone on a single SIM device.

On a multi-sim device it is dependent on the subId. But for a single SIM
device it should be a property of the device.

Bug: 18814559
Change-Id: I53ae2604db856914453aa4861e12b051700d187c

4 years agoAdd new mms error for no data network (airplane mode or no mobile data)
Ye Wen [Tue, 6 Jan 2015 23:21:54 +0000]
Add new mms error for no data network (airplane mode or no mobile data)


Change-Id: I15facaa4b0e70d615157c4166c9d86715ba596df

4 years ago“Pending” SMS is not sent automatically after airplane mode is turned off with...
Xia Ying [Mon, 22 Dec 2014 17:34:52 +0000]
“Pending” SMS is not sent automatically after airplane mode is turned off with VZW sim card

Rootcause: When airplane mode is on, the network operator is set to empty.
If VZW's assisted dailing for sms feature is enabled, there would be
StringIndexOutOfBoundsException if there is not empty check for network operator.

Change-Id: I72b1525a927097d1c70a2d56b0e624508cce73d1

4 years agoDelay certain SIM_STATE_CHANGE broadcasts.
Shishir Agrawal [Wed, 17 Dec 2014 00:21:52 +0000]
Delay certain SIM_STATE_CHANGE broadcasts.

Delay "loaded" and "locked" broadcasts till until the SubInfo system is ready.

Bug: 18156403
Change-Id: I43aa71354fc2551d0692751935abcbd13f6bd7fc

4 years agoSubscriptionInfoUpdater: Do not do work in the BroadcastReciever.
Shishir Agrawal [Tue, 16 Dec 2014 22:25:07 +0000]
SubscriptionInfoUpdater: Do not do work in the BroadcastReciever.

Currently a lot of work is done in the BR, which is bad design, possibly
problematic. Also removes the EVENT_OFFSET encoding what was not required.

Bug: 18156403
Change-Id: I6400eb27a77858efdbdd69289602fb2b5d7aaf83

4 years agoMerge "Update GSM/CDMA getState API to consider state of the IMS phone as well."...
Etan Cohen [Tue, 23 Dec 2014 17:47:49 +0000]
Merge "Update GSM/CDMA getState API to consider state of the IMS phone as well." into lmp-mr1-dev

4 years agoMerge "Uses TTY mode and VoLTE over TTY support to determine call type: IMS or CS...
Pavel Zhamaitsiak [Tue, 23 Dec 2014 03:40:09 +0000]
Merge "Uses TTY mode and VoLTE over TTY support to determine call type: IMS or CS." into lmp-mr1-dev

4 years agoIMS: add the api to get IMS registration information.
Libin.Tang@motorola.com [Thu, 18 Dec 2014 04:35:35 +0000]
IMS: add the api to get IMS registration information.

Bug: 18668325
Change-Id: Id5b0ed420990bde44b3525c7ec22eb37827d649c

4 years agoUses TTY mode and VoLTE over TTY support to determine call type: IMS or CS.
Etan Cohen [Mon, 15 Dec 2014 18:10:46 +0000]
Uses TTY mode and VoLTE over TTY support to determine call type: IMS or CS.

Bug: 18593974
Change-Id: I5a993688ade0269bcf3ca61c69cf9c274e694a13

4 years agoUpdate GSM/CDMA getState API to consider state of the IMS phone as well.
Etan Cohen [Thu, 18 Dec 2014 18:13:19 +0000]
Update GSM/CDMA getState API to consider state of the IMS phone as well.

Provides a true indication if the combined phone is IDLE or not.

Fix the one location where this combined information may cause issues: the
decision whether can send SMS over IMS or not.

Bug: 18774469
Change-Id: Iddb91798ae7278addbbf013d3880e126a7a29fdb

4 years agoMerge "Added a MSIM SMS legacy support feature." into lmp-mr1-dev
PauloftheWest [Fri, 19 Dec 2014 22:52:33 +0000]
Merge "Added a MSIM SMS legacy support feature." into lmp-mr1-dev

4 years agoMerge "Change to make sure that code triggered by onSubscriptionsChanged() is execute...
Amit Mahajan [Fri, 19 Dec 2014 00:24:07 +0000]
Merge "Change to make sure that code triggered by onSubscriptionsChanged() is executed on popping out and putting same SIM back in." into lmp-mr1-dev

4 years agoMerge "Have SubscriptionInfo.getDataRoaming return proper value." into lmp-mr1-dev
Wink Saville [Thu, 18 Dec 2014 23:02:29 +0000]
Merge "Have SubscriptionInfo.getDataRoaming return proper value." into lmp-mr1-dev

4 years agoMerge "In SipPhoneBase, do not notify call state changes." into lmp-mr1-dev
Andrew Lee [Thu, 18 Dec 2014 18:57:51 +0000]
Merge "In SipPhoneBase, do not notify call state changes." into lmp-mr1-dev

4 years agoAdded a MSIM SMS legacy support feature.
PauloftheWest [Wed, 17 Dec 2014 15:07:04 +0000]
Added a MSIM SMS legacy support feature.

+ When the following are true:
   - We are using a multi-SIM device
   - A default SMS SIM has not been selected
   - At least one SIM subscription is available
   - A SMS application sends a SMS text, without specifying the default
     SMS SIM
   then frameworks will automatically ask the use to set the default SMS

Bug: 18428386
Change-Id: I46f68c9f53983d4d8502ed9a8e2f1304444c73e1

4 years agoIn SipPhoneBase, do not notify call state changes.
Andrew Lee [Thu, 18 Dec 2014 00:52:20 +0000]
In SipPhoneBase, do not notify call state changes.

For Telephony phones, we'd like to notify call state changes in this
scenario, but for SIP calls we aren't concerned with this.

Tested: Added a custom listener to confirm that onCallStateChanged
previously was triggered on PhoneStateListener for specific subIds
and SIP calls. After this change, the callback is no longer invoked
for SIP calls, but still is for specific subIds.

Bug: 17612140
Change-Id: I9e4c6282fd53135580203c0b222782c23add5c42

4 years agoChange to make sure that code triggered by onSubscriptionsChanged() is
Amit Mahajan [Thu, 18 Dec 2014 00:11:13 +0000]
Change to make sure that code triggered by onSubscriptionsChanged() is
executed on popping out and putting same SIM back in.

Basically to handle the scenario where subId goes from X->invalid->X.
This is on top of ag/604848

Bug: 18718732
Change-Id: I42bd7906715e4a9702439c1498a17a3add4c25a6

4 years agoHave SubscriptionInfo.getDataRoaming return proper value.
Wink Saville [Thu, 18 Dec 2014 00:05:10 +0000]
Have SubscriptionInfo.getDataRoaming return proper value.

In DcTrackerBase.setDataOnRoamingEnabled
call mSubscriptionManager.setDataRoaming so SubscriptionInfo.getDataRoaming
returns valid information.

Bug: 18784668
Change-Id: Ibeef8049cfa2673fd6044ed726b0750383c8a355

4 years agoMerge "Don't rety permanent failures on every RAT change" into lmp-mr1-dev
Robert Greenwalt [Wed, 17 Dec 2014 21:53:22 +0000]
Merge "Don't rety permanent failures on every RAT change" into lmp-mr1-dev

4 years agoMerge "remove actions and calls for the old sms/mms api" into lmp-mr1-dev
Cheuksan Wang [Wed, 17 Dec 2014 20:38:17 +0000]
Merge "remove actions and calls for the old sms/mms api" into lmp-mr1-dev

4 years agoMerge "Return the data network type for the given sub id." into lmp-mr1-dev
Stuart Scott [Wed, 17 Dec 2014 13:39:33 +0000]
Merge "Return the data network type for the given sub id." into lmp-mr1-dev

4 years agoMerge "Change to register content observer for data_roaming only after subId is updat...
Amit Mahajan [Wed, 17 Dec 2014 01:35:17 +0000]
Merge "Change to register content observer for data_roaming only after subId is updated." into lmp-mr1-dev

4 years agoMerge "Change to ignore onSubscriptionsChanged() in SST if active subId does not...
Amit Mahajan [Wed, 17 Dec 2014 01:33:45 +0000]
Merge "Change to ignore onSubscriptionsChanged() in SST if active subId does not change." into lmp-mr1-dev

4 years agoDon't rety permanent failures on every RAT change
Robert Greenwalt [Tue, 16 Dec 2014 21:39:23 +0000]
Don't rety permanent failures on every RAT change

The code to retry on RAT change was added to catch cases where
we had disconnected because of the RAT (specifically the
RAT disallowed simultaneous voice and data).  Made our
RAT-change handler more focused so it now will
retry failed networks if the new RAT causes a change
in voice concurrency or APN list.

Change-Id: I3d46328f45584fdf9cf927b176104ff2c8233304

4 years agoChange to ignore onSubscriptionsChanged() in SST if active subId does not
Amit Mahajan [Wed, 17 Dec 2014 00:02:16 +0000]
Change to ignore onSubscriptionsChanged() in SST if active subId does not

Bug: 18718732
Change-Id: Ib08b62e860d0b6286272836e649cd2c171adc37e

4 years agoIMS: Detach disconnected connections from its parent
Omkar Kolangade [Wed, 10 Dec 2014 12:25:30 +0000]
IMS: Detach disconnected connections from its parent

Detach disconnected connections from its parent once
the call is ended


IMS: After SRVCC handover, disconnect the dropped IMS calls

After a successful SRVCC handover, disconnect the handover pending
or dropped IMS calls, if any

Bug: 18777284
Change-Id: If4899c70c587c70b8202559b3fe0027ecd166f21

4 years agoMerge "Notify listeners of a Connection if a DTMF character has been processed."...
Nancy Chen [Tue, 16 Dec 2014 23:06:29 +0000]
Merge "Notify listeners of a Connection if a DTMF character has been processed." into lmp-mr1-dev

4 years agoChange to register content observer for data_roaming only after subId is
Amit Mahajan [Tue, 16 Dec 2014 22:14:17 +0000]
Change to register content observer for data_roaming only after subId is

Bug: 18468163
Change-Id: Ie5358fb05c84939fe85eec262e3d07029732f712

4 years agoremove actions and calls for the old sms/mms api
Cheuksan Wang [Tue, 16 Dec 2014 21:25:16 +0000]
remove actions and calls for the old sms/mms api

BUG: 18005911
Change-Id: Ia862084ab7efcfc43aacc23626171762c4406317

4 years agoNotify listeners of a Connection if a DTMF character has been processed.
Nancy Chen [Tue, 16 Dec 2014 00:05:31 +0000]
Notify listeners of a Connection if a DTMF character has been processed.

In order to make DTMF digits in the post dial wait state audible to the
caller, the Connection must alert its PostDialListeners when it has
processed each character.

Bug: 18644688
Change-Id: Ic4078c2fb2cf9bfc0e6791dc76cb27ce7ab7077c

4 years agoSim Card full and can't delete messages in 5.0
xinhe [Mon, 15 Dec 2014 20:36:51 +0000]
Sim Card full and can't delete messages in 5.0

change permission check

Change-Id: Ic7255659432e438fb5dd6b6e51201dc2d9bbbb86

4 years agoMerge "Change to register for SIM_STATE or RADIO_STATE updates only if device is...
Amit Mahajan [Mon, 15 Dec 2014 19:06:39 +0000]
Merge "Change to register for SIM_STATE or RADIO_STATE updates only if device is decrypted." into lmp-mr1-dev

4 years agoReturn the data network type for the given sub id.
Stuart Scott [Mon, 15 Dec 2014 18:31:24 +0000]
Return the data network type for the given sub id.

bug: 18634918
Change-Id: Ie6cf11a387bb8fe17f9354d6f712aae378f7f584

4 years agoMerge "Fix NPE in SubscriptionController if getActiveSubscriptionInfoList is empty...
Wink Saville [Fri, 12 Dec 2014 17:21:55 +0000]
Merge "Fix NPE in SubscriptionController if getActiveSubscriptionInfoList is empty." into lmp-mr1-dev

4 years agoFix build. Use isValidSubscriptionId in DcTracker.
Craig Lafayette [Fri, 12 Dec 2014 13:39:42 +0000]
Fix build. Use isValidSubscriptionId in DcTracker.

Change-Id: I1cd2250a78daaac896070fbff58ad2c1a75c3b7f

4 years agoFix NPE in SubscriptionController if getActiveSubscriptionInfoList is empty.
Wink Saville [Thu, 11 Dec 2014 22:54:15 +0000]
Fix NPE in SubscriptionController if getActiveSubscriptionInfoList is empty.

Bug: 18683935
Change-Id: I34a185a1585449bf8c7e9fe56672f2578753cc4d

4 years agoMerge "Change tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId...
Wink Saville [Fri, 12 Dec 2014 04:23:21 +0000]
Merge "Change tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId." into lmp-mr1-dev

4 years agoMerge "Do not allow data if defaults are not selected." into lmp-mr1-dev
Stuart Scott [Fri, 12 Dec 2014 01:08:03 +0000]
Merge "Do not allow data if defaults are not selected." into lmp-mr1-dev

4 years agoIMS: Notify about change of TTY mode of other call participants
Pavel Zhamaitsiak [Thu, 11 Dec 2014 01:53:27 +0000]
IMS: Notify about change of TTY mode of other call participants

Pass notification to Phone app

Bug: 18247323
Change-Id: I975a93909dc02cc211e956667f5efb2ca3f330bb

4 years agoChange tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId.
Wink Saville [Thu, 11 Dec 2014 18:09:21 +0000]
Change tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId.

Rename isValidSubId to isValidSubscriptionId.

Bug: 18668873
Change-Id: Ie937d20b1bc6d3d63b658abe48e0aa65d830181f

4 years agoMerge "[DS] Data registration fails" into lmp-mr1-dev
Wink Saville [Thu, 11 Dec 2014 21:29:43 +0000]
Merge "[DS] Data registration fails" into lmp-mr1-dev