4 years agoMerge "Change type name of mobile from "Cellular" to "MOBILE"." into lmp-dev
Sreeram Ramachandran [Thu, 25 Sep 2014 15:07:54 +0000]
Merge "Change type name of mobile from "Cellular" to "MOBILE"." into lmp-dev

4 years agoMerge "Fix the locale matching logic in MccTable." into lmp-dev
Elliott Hughes [Thu, 25 Sep 2014 15:03:28 +0000]
Merge "Fix the locale matching logic in MccTable." into lmp-dev

4 years agoChange type name of mobile from "Cellular" to "MOBILE".
Sreeram Ramachandran [Thu, 25 Sep 2014 03:05:15 +0000]
Change type name of mobile from "Cellular" to "MOBILE".

Bug: 17609932
Change-Id: I22331426e04a5b45e73f9e768b7d88c1d4282c78

4 years agoMerge "add capability to initialize default locale from USIM EF_LI or EF_PL." into...
Amit Mahajan [Thu, 25 Sep 2014 00:26:55 +0000]
Merge "add capability to initialize default locale from USIM EF_LI or EF_PL." into lmp-dev

4 years agoTrigger phone switch based on config
Sukanya Rajkhowa [Mon, 15 Sep 2014 23:03:43 +0000]
Trigger phone switch based on config

When VOICE_REGISTRATION_STATE changes, phone switch
may not be needed as a previous switch would have
happened on receiving UNSOL_VOICE_RADIO_TECH_CHANGED.
Do a phone switch only if the config is true.

Bug: 17394282
Change-Id: I4a4aa98bd0af9eaca46b0d09458a126313e97611

4 years agoFix the locale matching logic in MccTable.
Elliott Hughes [Wed, 24 Sep 2014 22:10:36 +0000]
Fix the locale matching logic in MccTable.

Bug: 17614129
Change-Id: I4a058b252f9da9173e6bb248e212863e1fe6496f

4 years agoadd capability to initialize default locale from USIM EF_LI or EF_PL.
nfjb73 [Thu, 11 Apr 2013 18:34:25 +0000]
add capability to initialize default locale from USIM EF_LI or EF_PL.

if user has set the defalut locale, the locale from USIM will be ignored.

Bug: 17543708
Change-Id: I1f9fa8b73b84f27ef8414bb1fc1c01b4a021c791

4 years agoMerge "Postpone otasp_not_neeeded until SIM_LOADED." into lmp-dev
Junda Liu [Wed, 24 Sep 2014 17:58:32 +0000]
Merge "Postpone otasp_not_neeeded until SIM_LOADED." into lmp-dev

4 years agoPostpone otasp_not_neeeded until SIM_LOADED.
Junda Liu [Wed, 24 Sep 2014 17:53:52 +0000]
Postpone otasp_not_neeeded until SIM_LOADED.

Because platform begins w/ GSM phone even for CDMA devices, sending otasp_not_needed confuses SuW.

Bug: b/17572929
Change-Id: Ie19f5eac81a85cb4191bb7e5cf0294f4fb5cf0c1

4 years agoMerge "Reset OTASP state during initialization" into lmp-dev
Russell Brenner [Wed, 24 Sep 2014 00:43:07 +0000]
Merge "Reset OTASP state during initialization" into lmp-dev

4 years agoReset OTASP state during initialization
Russell Brenner [Tue, 23 Sep 2014 21:22:07 +0000]
Reset OTASP state during initialization

In case another service type had previously set the OTASP state,
reset it.

Bug: 17572929
Change-Id: I7a4274722c95036fc590a33201eadbf2ccd1880c

4 years agoMerge "Filter Settings-based DUN apn by bearer." into lmp-dev
Robert Greenwalt [Tue, 23 Sep 2014 20:59:10 +0000]
Merge "Filter Settings-based DUN apn by bearer." into lmp-dev

4 years agoUse overlay to determine phone type when Voice RAT is UNKNOWN.
Etan Cohen [Sat, 20 Sep 2014 01:02:27 +0000]
Use overlay to determine phone type when Voice RAT is UNKNOWN.

Current code used overlay when Voice RAT was ambiguous (LTE). Adding
UKNOWN as another condition to use overlay rather than default GSM.

Bug: 16962905
Change-Id: I2b55749a632eab8c00dd7b2c8a0df7b4152f71b6

4 years agoMerge "Fixed missing size of incoming MMS messages" into lmp-dev
Matthew Xie [Tue, 23 Sep 2014 00:54:23 +0000]
Merge "Fixed missing size of incoming MMS messages" into lmp-dev

4 years agoMerge "Take care of invalid mcc first when updating time based on nitz." into lmp-dev
Amit Mahajan [Tue, 23 Sep 2014 00:17:34 +0000]
Merge "Take care of invalid mcc first when updating time based on nitz." into lmp-dev

4 years agoMerge "Don't disconnect data for some carrier" into lmp-dev
Amit Mahajan [Tue, 23 Sep 2014 00:15:36 +0000]
Merge "Don't disconnect data for some carrier" into lmp-dev

4 years agoMerge "Fix for empty RSSI triangle after boot" into lmp-dev
xinhe [Tue, 23 Sep 2014 00:13:38 +0000]
Merge "Fix for empty RSSI triangle after boot" into lmp-dev

4 years agoTake care of invalid mcc first when updating time based on nitz.
Jing Zhao [Tue, 9 Sep 2014 21:18:50 +0000]
Take care of invalid mcc first when updating time based on nitz.

[ADR] PTCRB: 26.7.6.1.1 test from 3GPP TS 51.010-1

Bug: 17425395
Change-Id: I44cb366f4a0b5595f31c30a60dac52618431a109

4 years agoFilter Settings-based DUN apn by bearer.
Robert Greenwalt [Mon, 22 Sep 2014 23:45:37 +0000]
Filter Settings-based DUN apn by bearer.

bug:17330745
Change-Id: Icae2cbc6db10c9cebc20f445ca0d71ea4ed6be77

4 years agoDon't disconnect data for some carrier
Jing Zhao [Wed, 6 Aug 2014 21:41:11 +0000]
Don't disconnect data for some carrier

In some network, deactivate PDP connection cause releasing of RRC connection,
which MM/IMSI detaching request needs. Without this detaching, network can
not release the network resources previously attached.
So we are avoiding data detaching on these networks.

Bug: 16207801
Change-Id: Ib2ccc04d67f313e1241872b17ab38416607b0b48

4 years agoFixed missing size of incoming MMS messages
kschulz [Thu, 28 Aug 2014 11:58:38 +0000]
Fixed missing size of incoming MMS messages

The message size was set to 0 for incoming mms messages.
This makes some BT MAP clients behave faulty when fething
a list of messags from the device.

BUG: 17389452, 17311194
Change-Id: I89b2f2cf5e2dbbc389edb2275ad21a0174a3115e

4 years agoMerge "Don't call TelephonyNotifyCallState from DefaultPhoneNotifier anymore" into...
Yorke Lee [Sun, 21 Sep 2014 20:30:03 +0000]
Merge "Don't call TelephonyNotifyCallState from DefaultPhoneNotifier anymore" into lmp-dev

4 years agoControl radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable
Hui Wang [Fri, 19 Sep 2014 21:36:52 +0000]
Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable

Bug: 17567651, 16308209
Change-Id: I6bb1519a795dcb7e99a94d366afdfaec21c43d84

4 years agoMerge "Telephony: default subId updating on single slot device" into lmp-dev
Vineeta Srivastava [Fri, 19 Sep 2014 22:55:12 +0000]
Merge "Telephony: default subId updating on single slot device" into lmp-dev

4 years agoTelephony: default subId updating on single slot device
duho.ro [Fri, 19 Sep 2014 01:39:34 +0000]
Telephony: default subId updating on single slot device

The default sub Id should be updated on single slot device when card
hot-swapped.

Bug: 17400805

Change-Id: If42d4a218e508e65f3e97f2fcd974f622f8011b1

4 years agoFix for empty RSSI triangle after boot
xinhe [Fri, 19 Sep 2014 01:12:26 +0000]
Fix for empty RSSI triangle after boot

After device bootup, the signal strength triangle is empty although there is
both voice and data connection. This is due to when TelephonyRegistry doing call
back listen register, some APP use mDefaultSubID. However, when the reigister
happen, the mDefaultSubId does not exist. Althouhgh it can be update later, if
the update event comes too late (especially after the steady state), no
ServiceStatechange event can be received anymore. Thus the service is always not
available and the signal stength trangle has no chance to be updated anymore.
This is a risk condition.

Bug:17472622

Change-Id: I8e6e37469086eecabbc4b9abcdb0d32eb09e0635

4 years agoHandling service number convert while roaming.
w19976 [Fri, 12 Sep 2014 22:50:34 +0000]
Handling service number convert while roaming.

Bug: 17202092
Change-Id: I57221b314cd9136a19216119911e3342d42cdfde

4 years agoDon't call TelephonyNotifyCallState from DefaultPhoneNotifier anymore
Yorke Lee [Fri, 19 Sep 2014 01:07:59 +0000]
Don't call TelephonyNotifyCallState from DefaultPhoneNotifier anymore

Telecom now sends out this consolidated call state so this  method is now
unnecessary.

Bug: 17553837
Change-Id: I76f67939a35add5f84f1e7f9d5727d2537a70e09

4 years agoMerge "Fix voice mail number to modify for some carrier card." into lmp-dev
Amit Mahajan [Fri, 19 Sep 2014 01:07:28 +0000]
Merge "Fix voice mail number to modify for some carrier card." into lmp-dev

4 years agoFix voice mail number to modify for some carrier card.
giseok.seo [Wed, 7 May 2014 03:19:24 +0000]
Fix voice mail number to modify for some carrier card.

1.H3G Denmark SIM Card is set to "not available" in UST(Usim service Table) to
  EF_MBDN file of SIM CARD. so do not edit voicemail number.

2.AOSP default voicemail number is empty.
  so if inserted H3G Denmark SIM card,
  User can't edit voicemail number and do not use voicemail service.

Bug: 14093735
Change-Id: I2469ef8e8bda376adcdc9549bf4227bc4c0ddb2e

4 years agoMerge "telephony : Support for voicemail in TP-UDH of SMS" into lmp-dev
Amit Mahajan [Thu, 18 Sep 2014 23:28:03 +0000]
Merge "telephony : Support for voicemail in TP-UDH of SMS" into lmp-dev

4 years agotelephony : Support for voicemail in TP-UDH of SMS
Uma Maheswari Ramalingam [Tue, 10 Jul 2012 21:41:48 +0000]
telephony : Support for voicemail in TP-UDH of SMS

Added support for processing special message indication
for voice mail in TP user data header for SMS
Spec reference: 3GPP TS 23.040 V6.8.1

CPHS method does not use message count.
0xff is used to indicate unknown message count for CPHS
Ref[Adapt requirement CDR-MWI-120, TC: GSM-BTR-1-4700]

bug: 17299884
Change-Id: I893252d5cacd5c1c8680a8ca6c3a6dba95ef3e1f

4 years agoAdd new error result code for mms config loading failure (2/2)
Ye Wen [Thu, 18 Sep 2014 18:41:18 +0000]
Add new error result code for mms config loading failure (2/2)

b/17556258

Change-Id: Ie1d65f03efa5fdd38378e0223f387713bf14c855

4 years agoMerge "Change to timeout if cell_info_list is not received from modem for 5s." into...
Amit Mahajan [Thu, 18 Sep 2014 00:38:46 +0000]
Merge "Change to timeout if cell_info_list is not received from modem for 5s." into lmp-dev

4 years agoMerge "Fix null IMSI in CDMALTEPhone on bootup." into lmp-dev
Shishir Agrawal [Thu, 18 Sep 2014 00:03:45 +0000]
Merge "Fix null IMSI in CDMALTEPhone on bootup." into lmp-dev

4 years agoChange to timeout if cell_info_list is not received from modem for 5s.
Amit Mahajan [Wed, 17 Sep 2014 23:57:17 +0000]
Change to timeout if cell_info_list is not received from modem for 5s.

Bug: 17348559
Change-Id: I94c4a14ea6e88330082e79a7ba633ac7b18a1a2e

4 years agoFix null IMSI in CDMALTEPhone on bootup.
Shishir Agrawal [Wed, 17 Sep 2014 18:39:21 +0000]
Fix null IMSI in CDMALTEPhone on bootup.

Using the UiccController call without passing in phone ID results in invoking
the SubscriptionController logic which is not necessarily initialized at
ICC_CHANGED.

Bug: 17418219
Change-Id: Id84e33aa6c77c3f12ebacf234c05af5c4901870c

4 years agoHandle unprovisioned ruim and update otasp as needed.
Junda Liu [Tue, 16 Sep 2014 19:22:37 +0000]
Handle unprovisioned ruim and update otasp as needed.

The old code skips updateotasp if ruim is not provisioned, so otasp
needed is never sent to registrants.

Bug: b/17200971
Change-Id: If098dd8e3159f289e3a6c0007e421fd8c40555d2

4 years agoMerge "PT:VZW:CV MMS not able to be sent with messenger app" into lmp-dev
Tom Taylor [Tue, 16 Sep 2014 17:24:23 +0000]
Merge "PT:VZW:CV MMS not able to be sent with messenger app" into lmp-dev

4 years agoMerge "IsimUiccRecords: Do not set radio power off if not required on REFRESH reset...
Shishir Agrawal [Mon, 15 Sep 2014 23:35:39 +0000]
Merge "IsimUiccRecords: Do not set radio power off if not required on REFRESH reset." into lmp-dev

4 years agoIsimUiccRecords: Do not set radio power off if not required on REFRESH reset.
Shishir Agrawal [Mon, 15 Sep 2014 22:41:07 +0000]
IsimUiccRecords: Do not set radio power off if not required on REFRESH reset.

Bug: 17154939
Change-Id: Ied4709ea8b61a8402211d11bb582feb830ab61d9

4 years agoUse VOLTE Replacement RAT from config if defined
Sukanya Rajkhowa [Thu, 11 Sep 2014 00:28:18 +0000]
Use VOLTE Replacement RAT from config if defined

Operators may define the replacement RAT when voice
is registered on LTE. Use the operator specific RAT
defined in mcc-mnc config if defined

Bug: 17394282
Change-Id: I0974190df04b62f23527015a1f3e4086fb38e83c

4 years agoPT:VZW:CV MMS not able to be sent with messenger app
Tom Taylor [Mon, 15 Sep 2014 20:58:49 +0000]
PT:VZW:CV MMS not able to be sent with messenger app

Bug 17506557

I missed a spot where the mcc/mnc was getting set without updating the
siminfo record. This affected Sprint phones and perhaps others. As a result,
the mcc/mnc for the one and only subscription record had an mcc/mnc of zero
and the default mms_config for that mcc/mnc couldn't be loaded.

Change-Id: Iea0222a29a1f9426a4cdf4b9946620e2d02615e7

4 years agoRenaming Telecomm to Telecom.
Tyler Gunn [Wed, 10 Sep 2014 22:19:34 +0000]
Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I2fa094034f8a32ac887a6f653ba6d40d7a1761e2

4 years agoIMS USSD Routing Over CS Pipe
Uma Maheswari Ramalingam [Fri, 12 Sep 2014 01:06:52 +0000]
IMS USSD Routing Over CS Pipe

Adding logic to reroute USSD
requests through voice phone in
AP. The actual routing logic
(CS/IMS) resides in the lower
layers.

Bug: 17431456
Change-Id: Ieec8130ae9f5b62f6dc1aaf0066d41b31c5b8d0b

4 years agoIMS: release the imsphoneconnection wakelock when handover occurs from volte to cs.
Libin.Tang@motorola.com [Fri, 12 Sep 2014 17:35:13 +0000]
IMS: release the imsphoneconnection wakelock when handover occurs from volte to cs.

Bug: 17469563
Change-Id: I3652de773da0398cb9d7455d0c82e6c9504171af

4 years agoMerge "Send and download MMS via content provider instead of PDU bytes." into lmp-dev
Cheuksan Wang [Fri, 12 Sep 2014 17:07:37 +0000]
Merge "Send and download MMS via content provider instead of PDU bytes." into lmp-dev

4 years agoMerge "Don't advertise dun insecurely" into lmp-dev
Robert Greenwalt [Thu, 11 Sep 2014 21:43:37 +0000]
Merge "Don't advertise dun insecurely" into lmp-dev

4 years agoSend and download MMS via content provider instead of PDU bytes.
Cheuksan Wang [Tue, 9 Sep 2014 02:50:54 +0000]
Send and download MMS via content provider instead of PDU bytes.

Change-Id: Ib5a93d07799c9e14fea8be820c6bd4bc7ae8be3a

4 years agoSend empty flash for some CDMA carriers for 3way call
Jing Zhao [Fri, 29 Aug 2014 22:09:33 +0000]
Send empty flash for some CDMA carriers for 3way call

Some carrier need a empty flash before the normal one to connect the 3way call

Bug: 17331584
Change-Id: Ie8f774de909056e398972ea460029d903f059fec

4 years agoMerge "Make public the getIccId function." into lmp-dev
Derek Tan [Thu, 11 Sep 2014 05:16:04 +0000]
Merge "Make public the getIccId function." into lmp-dev

4 years agoDon't advertise dun insecurely
Robert Greenwalt [Thu, 11 Sep 2014 00:12:05 +0000]
Don't advertise dun insecurely

If there is a carrier specified apn from config.xml unless the current connection
is that setting, don't advertise dun.

If there is no carrier specified apn, the we're ok.

bug:17286525
Change-Id: I6c6f66e9b4dcc9a1dda6fa0fbfea7b7dcc155530

4 years agoMerge "Reduce log spam - moving some subscription messages to verbose from debug...
Wink Saville [Wed, 10 Sep 2014 22:13:49 +0000]
Merge "Reduce log spam - moving some subscription messages to verbose from debug logging." into lmp-dev

4 years agoMerge "setup data on connectable apns on apn changed even there have already been...
xin He [Wed, 10 Sep 2014 22:12:01 +0000]
Merge "setup data on connectable apns on apn changed even there have already been some apns connected" into lmp-dev

4 years agoReduce log spam - moving some subscription messages to verbose from debug logging.
Etan Cohen [Wed, 10 Sep 2014 20:40:24 +0000]
Reduce log spam - moving some subscription messages to verbose from debug logging.

Change-Id: I1a8d541cd9547d049559c26744b7d61690304840

4 years agosetup data on connectable apns on apn changed even there have already
Hui Wang [Tue, 9 Sep 2014 16:23:17 +0000]
setup data on connectable apns on apn changed even there have already
been some apns connected

If default apn setting is added after other apn types connected, deafult apn
may not be able to be connected

Bug: 17426028
Change-Id: I5022ebde6ed1f8448755d9076aa5583a84895e00

4 years agoMerge "Update telemgr calls with subId to new APIs with ForSubscriber suffix." into...
Junda Liu [Wed, 10 Sep 2014 00:58:55 +0000]
Merge "Update telemgr calls with subId to new APIs with ForSubscriber suffix." into lmp-dev

4 years agoMerge "Support to load default voicemail number from the configuration." into lmp-dev
Amit Mahajan [Wed, 10 Sep 2014 00:23:44 +0000]
Merge "Support to load default voicemail number from the configuration." into lmp-dev

4 years agoMerge "Voicemail notification disappears after power cycle" into lmp-dev
Amit Mahajan [Wed, 10 Sep 2014 00:21:28 +0000]
Merge "Voicemail notification disappears after power cycle" into lmp-dev

4 years agoSupport to load default voicemail number from the configuration.
Xia Ying [Thu, 4 Sep 2014 21:58:34 +0000]
Support to load default voicemail number from the configuration.

If there is no preload VM number in the sim card, carriers such as
Verizon require to load a default vm number from the configurantion.

Bug: 17209959
Change-Id: I04df49b29452135edfebd9ea2bc047e91b7f208c

4 years agoVoicemail notification disappears after power cycle
Xia Ying [Mon, 8 Sep 2014 22:06:00 +0000]
Voicemail notification disappears after power cycle

Fail to notify messageWaitingChanged to App, it is
due to could not get subid before Ruim records loaded.

Bug: 17427871
Change-Id: I6d2dddfecda4747a72d6a4ac53bbaa86becd966b

4 years agoMerge "Use SubscriptionController.getSubIdUsingPhoneId for getSubId" into lmp-dev
Wink Saville [Tue, 9 Sep 2014 21:18:18 +0000]
Merge "Use SubscriptionController.getSubIdUsingPhoneId for getSubId" into lmp-dev

4 years agoMerge "Fix ArrayOutOfBounds bug, tighten parameter checking." into lmp-dev
Wink Saville [Tue, 9 Sep 2014 21:18:12 +0000]
Merge "Fix ArrayOutOfBounds bug, tighten parameter checking." into lmp-dev

4 years agoUse SubscriptionController.getSubIdUsingPhoneId for getSubId
Wink Saville [Tue, 9 Sep 2014 19:50:03 +0000]
Use SubscriptionController.getSubIdUsingPhoneId for getSubId

This is slightly better as code in getSubIdUsingPhoneId also returns
INVALID_SUB_ID if the length is 0.

Bug: 17399710
Change-Id: I47484c0001ea4606029dbf42e135a33031beb8da

4 years agoFix ArrayOutOfBounds bug, tighten parameter checking.
Wink Saville [Tue, 9 Sep 2014 19:11:26 +0000]
Fix ArrayOutOfBounds bug, tighten parameter checking.

Also, make logging consistent.

Bug: 17424200
Change-Id: Ie5bef1f557bf88b01eeb97c117807a40689c28e4

4 years agoValidate that Handler being cleared is the one currently registered.
Etan Cohen [Tue, 9 Sep 2014 19:00:59 +0000]
Validate that Handler being cleared is the one currently registered.

The BaseCommands.unsetOnXXX(Handler h) cleared the current singleton
registrant without validating that it was the same Handler used in the
argument. Out-of-order set/unset would cause a problem.

Bug: 17436226
Change-Id: I53a264e517f7cbef9e243c628102817a376da29d

4 years agoMerge "Change suffix UsingSubId to ForSubscriber." into lmp-dev
Wink Saville [Tue, 9 Sep 2014 17:39:49 +0000]
Merge "Change suffix UsingSubId to ForSubscriber." into lmp-dev

4 years agoFix NPE due to access before checking for NULL of APN setting.
Etan Cohen [Mon, 8 Sep 2014 23:38:42 +0000]
Fix NPE due to access before checking for NULL of APN setting.

Change-Id: I7bac303a2a5d562f7f1b2569ecfa467160be52a1

4 years agoMerge "Assisted dialing support of MO SMS" into lmp-dev
Amit Mahajan [Mon, 8 Sep 2014 23:56:24 +0000]
Merge "Assisted dialing support of MO SMS" into lmp-dev

4 years agoAssisted dialing support of MO SMS
Xia Ying [Tue, 22 Jul 2014 01:20:21 +0000]
Assisted dialing support of MO SMS

This is special for VZW requirement. Follow the specificaitons
of assisted dialing of MO SMS while traveling on VZW CDMA,
international CDMA or GSM markets.

Change-Id: I8976e596040e9eab9e4bc5168fc68e9d976c4df5

4 years agoMerge "getSubId returns INVALID_SUB_ID if there are no subIds for a phone." into...
Wink Saville [Mon, 8 Sep 2014 22:58:31 +0000]
Merge "getSubId returns INVALID_SUB_ID if there are no subIds for a phone." into lmp-dev

4 years agogetSubId returns INVALID_SUB_ID if there are no subIds for a phone.
Wink Saville [Mon, 8 Sep 2014 22:10:30 +0000]
getSubId returns INVALID_SUB_ID if there are no subIds for a phone.

Bug: 17399710
Change-Id: Ice47ee47ecc516d9d1ebe7cada8d1a145803d6c7

4 years agoChange suffix UsingSubId to ForSubscriber.
Wink Saville [Mon, 8 Sep 2014 21:22:16 +0000]
Change suffix UsingSubId to ForSubscriber.

Bug: 17255752
Change-Id: Ifd522888b5aaae111f642d1e35bd1bb939e539d4

4 years agoDO NOT MERGE - Make new SmsManager API's dealing with SubId hidden
Tom Taylor [Mon, 8 Sep 2014 18:49:31 +0000]
DO NOT MERGE - Make new SmsManager API's dealing with SubId hidden

Bug 17422049

Change-Id: Ia7931dc805536018d2f39d08e8613cca859b10b0

4 years agoMake public the getIccId function.
Derek Tan [Sat, 6 Sep 2014 02:50:22 +0000]
Make public the getIccId function.

Bug: 17255752

Change-Id: Id1ffc49e0b2c9674b1631bbd5662be8889d97ed7

4 years agoAdd null check for IMS Connection when conference call ends
Uma Maheswari Ramalingam [Tue, 2 Sep 2014 22:37:54 +0000]
Add null check for IMS Connection when conference call ends

Add null check before accessing ImsConnection object when
conference call is ended as findConnection() may return null
when there is no connection associated with the call object

Bug: 17332291
Change-Id: I3b74277b20f3a26c1b026bfa15ef4d368fb6f8af

4 years agoUpdate telemgr calls with subId to new APIs with ForSubscriber suffix.
Junda Liu [Sat, 6 Sep 2014 00:35:28 +0000]
Update telemgr calls with subId to new APIs with ForSubscriber suffix.

Bug: b/17255752
Change-Id: Ib4447f280a76424751a3d5c25a8ba400a1f789ee

4 years agoMerge "API change: SetOperatorBrandOverride should not take iccId as a param." into...
Shishir Agrawal [Fri, 5 Sep 2014 23:51:46 +0000]
Merge "API change: SetOperatorBrandOverride should not take iccId as a param." into lmp-dev

4 years agoMerge "Supporting Plus code dialing for non-NANP CDMA carrier" into lmp-dev
Vineeta Srivastava [Fri, 5 Sep 2014 22:54:09 +0000]
Merge "Supporting Plus code dialing for non-NANP CDMA carrier" into lmp-dev

4 years agoAPI change: SetOperatorBrandOverride should not take iccId as a param.
Shishir Agrawal [Thu, 4 Sep 2014 20:25:17 +0000]
API change: SetOperatorBrandOverride should not take iccId as a param.

Taking ICCID as a parameter is not scure since a carrier can override the
brand for other carriers. We should override only the current ICCID.

Bug: 17390144

Change-Id: I8128695205b893b51bd5ca7f78b2980a49173768

4 years agoSupporting Plus code dialing for non-NANP CDMA carrier
Steven Liu [Thu, 10 Jul 2014 19:04:29 +0000]
Supporting Plus code dialing for non-NANP CDMA carrier

Plus Code Dialing in CDMA need to know the current IDD, which is
associated with the current operator MCC, but most of Network won't
broadcast the current operator MCC via OTA, we need to use the other
OTA parameters, such as SID, time zone etc. to find right MCC, and
get right IDD further to be used by Plus Code Dialing.

Change-Id: I369083169bb3504f8de9774b65f3993dd561c525

Conflicts:
src/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java

4 years agoMerge "Add gid to configure no_ems_support_sim_operators" into lmp-dev
Amit Mahajan [Fri, 5 Sep 2014 19:25:56 +0000]
Merge "Add gid to configure no_ems_support_sim_operators" into lmp-dev

4 years agoMerge "Voicemail notification disappears after power cycle" into lmp-dev
Amit Mahajan [Fri, 5 Sep 2014 19:25:42 +0000]
Merge "Voicemail notification disappears after power cycle" into lmp-dev

4 years agoMerge "More cleanup prior to unhiding" into lmp-dev
Wink Saville [Fri, 5 Sep 2014 03:40:27 +0000]
Merge "More cleanup prior to unhiding" into lmp-dev

4 years agoMore cleanup prior to unhiding
Wink Saville [Fri, 5 Sep 2014 00:06:44 +0000]
More cleanup prior to unhiding

Rename public SubInfoRecord instance variables

Change-Id: I25a56d779c63a3f483d7a43c5c123404bf489fa3

4 years agoMerge "MMS API cleanup (2/4)" into lmp-dev
Ye Wen [Thu, 4 Sep 2014 23:36:08 +0000]
Merge "MMS API cleanup (2/4)" into lmp-dev

4 years agoMerge "StkAppService couldn't get the CatService instance." into lmp-dev
Vineeta Srivastava [Thu, 4 Sep 2014 22:45:38 +0000]
Merge "StkAppService couldn't get the CatService instance." into lmp-dev

4 years agoMMS API cleanup (2/4)
Ye Wen [Thu, 4 Sep 2014 22:40:30 +0000]
MMS API cleanup (2/4)

- Hide APIs not approved by API council (b/17189780)
- Change configOverrides in MMS APIs from ContentValues to Bundle to be
consistent (b/17390017)
- Change SmsManager.MMS_EXTRA_DATA to EXTRA_MMS_DATA per API council
review (b/17390977)

b/17189780
b/17390017
b/17390977

Change-Id: I89bfba568a6cba59bda9627f2cbc3a6aa973dd06

4 years agoFix incoming call name presentation
nfjb73 [Tue, 14 May 2013 16:51:10 +0000]
Fix incoming call name presentation

According to ril.h, namePresention should be handled as
numberPresention as they are using same value scope. In RIL.java,
only numberPresention is matched to that definition in DriveCall,
 but namePresention is not matched.

Bug: 17327806
Change-Id: Iba985cbef98318181f93a9eab740db3d23a49a10

4 years agoMerge "Save mcc/mnc in SubInfoRecord" into lmp-dev
Tom Taylor [Thu, 4 Sep 2014 21:22:59 +0000]
Merge "Save mcc/mnc in SubInfoRecord" into lmp-dev

4 years agoSave mcc/mnc in SubInfoRecord
Tom Taylor [Thu, 4 Sep 2014 20:42:35 +0000]
Save mcc/mnc in SubInfoRecord

Bug 17157686

Add MCC/MNC columns to siminfo table.
Set the sub info's mcc and mnc when it changes.

Change-Id: I543018c3960af46a14dd234540549d13bc49e579

4 years agoStkAppService couldn't get the CatService instance.
Steven Liu [Wed, 3 Sep 2014 16:40:35 +0000]
StkAppService couldn't get the CatService instance.

Stk app doesn't work.

Bug: 17298789
Change-Id: I0201cc0cdaf295eacbec36c4becfdb4862b63050

4 years agoMerge "AT&T short dialing code" into lmp-dev
Vineeta Srivastava [Thu, 4 Sep 2014 20:21:16 +0000]
Merge "AT&T short dialing code" into lmp-dev

4 years agoAdd gid to configure no_ems_support_sim_operators
Xia Ying [Mon, 25 Aug 2014 21:12:16 +0000]
Add gid to configure no_ems_support_sim_operators

Since several carriers used same mccmnc, we need to
add gid to distinguish them.

Change-Id: Ic0af3f19c9621fa22a7ecb7c1508962cf6a8867b

4 years agoVoicemail notification disappears after power cycle
Xia Ying [Thu, 14 Aug 2014 00:52:19 +0000]
Voicemail notification disappears after power cycle

For CDMA phone, use VM_COUNT_CDMA + phoneId as key to save
voice mail count, but using VM_COUNT_CDMA as key to read
voice mail count when powering up is not right, should use
VM_COUNT_CDMA + phoneId as key to check vm count.

Bug: 17016403
Change-Id: Iba12a753ac3c042f5e10e8b8d68b5b62b72a0e3d

4 years agoAT&T short dialing code
Jing Zhao [Fri, 29 Aug 2014 21:25:44 +0000]
AT&T short dialing code

User should be able to dial 0 or 00 in AT&T network.
The code should not be taken as MMI Code.

Bug: 17314389
Change-Id: I2f4187ddcbad6d78ee8d8c1881648b96a9da76dd

4 years agoAdd missing mms_config key enableGroupMms to SmsManager (2/2)
Ye Wen [Thu, 4 Sep 2014 18:03:17 +0000]
Add missing mms_config key enableGroupMms to SmsManager (2/2)

b/17390011

Change-Id: Ic6da3a1a1c718c732f4b5d9e7dea858499031e6c

4 years agoFix CDMA missing call notification
Etan Cohen [Wed, 3 Sep 2014 22:59:34 +0000]
Fix CDMA missing call notification

Mis-coding: left a derived class mIsIncoming member when moving functionality to base class -
i.e. derived class variable aliasing base class. Introduced in CL 179998 (partner repo).

Bug: 17142654
Change-Id: I88d8f649c1b5abaabae333854b203d4ecf182ba5

4 years agoRemove race condition due to RAT technology change.
Etan Cohen [Wed, 3 Sep 2014 18:31:07 +0000]
Remove race condition due to RAT technology change.

On RAT technology change old phone is destroyed and new phone created.
Original code performed unregistration of old phone and then registration
of new phone - small window where CallManager.getDefaultPhone() returned NULL.

Code changes order to make sure new phone is registered before old phone
is unregistered.

Bug: 17347478
Change-Id: Ife5b995de90bb5f8fab51af89f7b9aa50e7ec306

4 years agoMerge "SIM state loaded should wait for carrier priviliges to load." into lmp-dev
Shishir Agrawal [Thu, 4 Sep 2014 05:07:55 +0000]
Merge "SIM state loaded should wait for carrier priviliges to load." into lmp-dev