3123 Commits

Author SHA1 Message Date
Pavel Zhamaitsiak
566886f797 Merge "IMS: Fix registrationFeatureCapabilityChanged declaration in AIDL" into mnc-dr-dev 2015-09-04 16:09:02 +00:00
Amit Mahajan
8a670f1da4 Merge changes from topic 'TDSCDMA support' into mnc-dr-dev
* changes:
  Add TDSCDMA family
  Telephony: Add TD-SCDMA SignalStrength
2015-09-03 21:24:46 +00:00
Pavel Zhamaitsiak
0f1ddb586b IMS: Fix registrationFeatureCapabilityChanged declaration in AIDL
Two arrays are passed from caller (in this case IMS service
implementation) to listener (in this case client of ImsManager).
Listener is not modifying arrays and caller is not expecting
data to be returned back.

Bug: 23749309
Change-Id: I6231cfd16852acfca88ee43e8538b2440058d774
2015-09-02 11:01:34 -07:00
Roshan Pius
a14e900181 Merge "Reformat only KR numbers with leading "+82"." into mnc-dr-dev 2015-09-02 06:06:45 +00:00
Roshan Pius
a9acb4c2b5 Reformat only KR numbers with leading "+82".
Looks like the phonenumber util can figure out the country code of a
phone number to format from the localization data even if it is not
explicitly present in the phone number string. So, adding an explicit
check to make sure that the country code(+82) was fetched from the
original number string which was the intention of the fix for
b/22862845.

BUG: 23661668
Change-Id: I26ba03d759e0ec35a195ba51bf60d09eff8de090
2015-09-01 09:24:32 -07:00
Tyler Gunn
6ef57c3366 Rename carrier config constant.
Bug: 23063217
Change-Id: I0050f0009a7681df1b04edbbd9331bc2918464a2
2015-08-31 13:15:27 -07:00
Tyler Gunn
387ce2fb81 Add carrier config for allowing non-emerg calls in ECM mode.
Default value is TRUE for all carriers, meaning that non-emergency calls
are allowed even when the phone is in emergency callback mode.

Bug: 23063217
Change-Id: I4a227ce64a1e594a055560f42c7611c8eccdae0f
2015-08-31 17:46:54 +00:00
Sungmin Choi
dd8efa820b Add TDSCDMA family
Bug: 22639018
Change-Id: I7a65337838ef3dfa24ce8b59564ec831c5cb5094
2015-08-31 10:41:49 -07:00
Sungmin Choi
369808638b Telephony: Add TD-SCDMA SignalStrength
Bug: 22639018
Change-Id: I0381e18fb65807c88290df1f2333b2636f0b0c18
2015-08-31 10:41:32 -07:00
Sungmin Choi
8d2826bee2 Support uneditable enhanced 4g lte mode config
Bug: 23539759
Change-Id: I069d994eaef2f57c3d01ff2f36abcd274da431a5
2015-08-29 00:38:56 +00:00
Roshan Pius
6ad123156e Merge "Reformat local Korean numbers in national format." into mnc-dr-dev 2015-08-26 21:15:16 +00:00
Roshan Pius
672b2cc05c Reformat local Korean numbers in national format.
Korean carriers don't want the country codes displayed for local calls.
However the network returns the entire phone number including the
country code for Volte calls. According to the Koean phone numbering
scheme (https://en.wikipedia.org/wiki/Telephone_numbers_in_South_Korea),
we need to replace the country code +82 with a 0 prepended to the
carrier code to format it as a national number.

BUG: 22862845
Change-Id: Ifbb9eb8d5379608b4ea9d95ae7744779340b188e
2015-08-26 10:00:49 -07:00
Sungmin Choi
8c651ae21d Add carrier config variable to hide merge call button
Bug: 22864941
Change-Id: Ief5f8078e53a46cc9bf7627729dba7e28270a231
2015-08-18 09:41:45 -07:00
Roshan Pius
9f81ce727c Add a new carrier config for DTMF tone gap.
Adding a new carrier config key to specify the gap between the DTMF
tones sent out to the network.

BUG: 23064351
Change-Id: I3a0e20efecd62f533e796a40097f181d4c20d614
2015-08-12 21:04:26 +00:00
Chris Manton
5ace41f50b am 19aa341a: Merge "Save data registration roaming state" into mnc-dev
* commit '19aa341a3548c454c12378d7c4d92cc5074685a8':
  Save data registration roaming state
2015-08-11 22:28:55 +00:00
Chris Manton
1428f43fa7 Save data registration roaming state
Carrier configuration may override the roaming state
but the roaming state may be required for specifying
proper APNs upon data call setup.  This change stores
the unmodified roaming state.

bug: 22990977
Change-Id: I5ebe04f60709bc691e9c79be193f1790a7148818
2015-08-11 16:28:11 +00:00
Tyler Gunn
ffb72473c6 Merge "Remove EXTRA_CALL_HISTORY_INFO." into mnc-dr-dev 2015-08-05 17:47:14 +00:00
Makoto Onuki
a29e05012d am 86ee3a57: Merge "READ_SMS allows getLine1Number() [1/3]" into mnc-dev
* commit '86ee3a57e428b14023bc0bdbd6cb8f8bc206be74':
  READ_SMS allows getLine1Number() [1/3]
2015-08-05 17:00:53 +00:00
Makoto Onuki
ad4c63b53d READ_SMS allows getLine1Number() [1/3]
Bug 22862050

Change-Id: I45dba41423dd3313984c93a6e674f37410fb3050
2015-08-03 15:10:57 -07:00
Tyler Gunn
ac2aefc37b Remove EXTRA_CALL_HISTORY_INFO.
- Remove EXTRA_CALL_HISTORY_INFO (replaced by EXTRA_LAST FORWARDED_NUMBER).
- Added carrier config key for instant lettering.

Bug: 22684864
Change-Id: Ic46fdccf5b665417f15e612a2cc4d7f1fb67ccca
2015-07-31 15:34:46 -07:00
Ji Yang
f520f022db am 499f084d: Merge "Add API to let carrier app send SMS without auto perisisting." into mnc-dev
* commit '499f084d9e7bb3323ed447b16f548bad9b886aa7':
  Add API to let carrier app send SMS without auto perisisting.
2015-07-29 22:46:16 +00:00
Ji Yang
499f084d9e Merge "Add API to let carrier app send SMS without auto perisisting." into mnc-dev 2015-07-29 22:35:30 +00:00
Ji Yang
216813c9e1 Add API to let carrier app send SMS without auto perisisting.
Bug: 22773702
Change-Id: I976a8268ce95fe9fc5bb046ce744a1cddefc8eeb
2015-07-29 13:30:55 -07:00
Jack Yu
8ac962a778 am e21722a3: Merge "Allow carriers to force disable ETWS/CMAS test messages." into mnc-dev
* commit 'e21722a3daf0562bb7711d3dd38657b5a348ce4e':
  Allow carriers to force disable ETWS/CMAS test messages.
2015-07-23 19:20:17 +00:00
Jack Yu
a4f2da3988 Allow carriers to force disable ETWS/CMAS test messages.
This feature can be enabled in carrier config XML. When enabled, the user will not see
ETWS/CMAS enable/disable option in emergency broadcast preference menu.

bug: 22396039
Change-Id: I6ad6fa39852d3b13faeef968a1963b3e0a4a6e61
2015-07-23 05:21:54 +00:00
Sanket Padawe
c83e0571e5 am ea975b12: Merge "Add new API for handling DB query per subId." into mnc-dev
* commit 'ea975b122fee3ac0fe766d2b58bb420b82e5dd95':
  Add new API for handling DB query per subId.
2015-07-16 05:14:13 +00:00
Sanket Padawe
ea975b122f Merge "Add new API for handling DB query per subId." into mnc-dev 2015-07-16 05:01:23 +00:00
Roshan Pius
06179c75c8 am 4e9c63cb: Merge "Handle exceptions when accessing Content providers." into mnc-dev
* commit '4e9c63cbe1712f750d5eaaa044e957c7f7696bf8':
  Handle exceptions when accessing Content providers.
2015-07-15 22:26:55 +00:00
Sanket Padawe
dc49309cef Add new API for handling DB query per subId.
+ Add new API for handling DB query and Resources object per subscription.
+ Add constants for column name of DB storing subscription info.
+ Add a common settings file for multi-tab

Bug: 22360525
Change-Id: Icf6d35bdbe31618e2a95df450aee12b99d3aea7a
2015-07-14 14:21:43 -07:00
Roshan Pius
93018a4d98 Handle exceptions when accessing Content providers.
BUG: 21638129
Change-Id: I88f7dcf67e395f49136a1f434fbd9c75e15cddad
2015-07-14 11:20:42 -07:00
Roshan Pius
2ce65bddb5 am cf01fd0f: Merge "Catch & log security exception in telephonymanager" into mnc-dev
* commit 'cf01fd0f128a2d7fc5b9c0f9db4fc9e0e5552093':
  Catch & log security exception in telephonymanager
2015-07-13 23:31:19 +00:00
Roshan Pius
7e9cb0d094 Catch & log security exception in telephonymanager
BUG: 22225068
Change-Id: I9b0053cf1041c81f409ace556b810ef79de88599
2015-07-13 13:11:09 -07:00
Robert Greenwalt
66f59dc1bd am 1570b6b3: Merge "Enable EMERGENCY mobile connections." into mnc-dev
* commit '1570b6b3c7d1d41a52555312d161d0afe4b81df3':
  Enable EMERGENCY mobile connections.
2015-07-10 18:38:22 +00:00
Robert Greenwalt
d30a3d6693 am 1ebcb6f8: Merge "Fix permissions." into mnc-dev
* commit '1ebcb6f8b2f989c84311555f4961506dba959d37':
  Fix permissions.
2015-07-10 18:38:15 +00:00
Robert Greenwalt
1570b6b3c7 Merge "Enable EMERGENCY mobile connections." into mnc-dev 2015-07-10 18:23:24 +00:00
Robert Greenwalt
9bc8299ca0 Fix permissions.
Legacy API should not need new permissions.
Also found some more hidden/system that should have permissions.

bug:22379438
bug:19257083
Change-Id: I24be0a90dffcffe03d25982a9b02eedcf03fbd59
2015-07-10 09:42:08 -07:00
Robert Greenwalt
4bd4389616 Enable EMERGENCY mobile connections.
Hooks the ConnectivityManager.TYPE_MOBILE_EMERGENCY,
PhoneConstants.APN_TYPE_EMERGENCY, and NetworkCapabilities.NET_CAPABILITY_EIMS
together so carrier apps can request connections to this APN.

bug:21785357
Change-Id: Id92a5e28d19407cc7a8f8b5478b23457f2f7f89d
2015-07-09 14:49:35 -07:00
Robert Greenwalt
031b947766 am 348988c5: Merge "Fix permissions on TelephonyManager" into mnc-dev
* commit '348988c5704a5a6eb6aec093e295c2d9f00ee33c':
  Fix permissions on TelephonyManager
2015-07-09 03:34:47 +00:00
Robert Greenwalt
348988c570 Merge "Fix permissions on TelephonyManager" into mnc-dev 2015-07-09 03:19:26 +00:00
Robert Greenwalt
8e7b195474 am 8b0f3873: Merge "Add/Fix Permission check on SubscriptionManager." into mnc-dev
* commit '8b0f3873a04103f6886fdc2fb79b9a3963567720':
  Add/Fix Permission check on SubscriptionManager.
2015-07-08 21:41:06 +00:00
Robert Greenwalt
8b0f3873a0 Merge "Add/Fix Permission check on SubscriptionManager." into mnc-dev 2015-07-08 21:26:17 +00:00
Robert Greenwalt
6e4a98f870 Fix permissions on TelephonyManager
bug:19257083
Change-Id: I063d36bbe7ece9d83aac7c490d1b44e55da2c286
2015-07-07 11:52:15 -07:00
Casey Ho
766f3108e0 am becddea6: Merge "Unhide signal strength constants used by getLevel." into mnc-dev
* commit 'becddea63e2c4b414e5eac2841d3516c4e89bb24':
  Unhide signal strength constants used by getLevel.
2015-07-06 22:31:16 +00:00
Robert Greenwalt
278b8f9509 Add/Fix Permission check on SubscriptionManager.
Things that are modifing should check the modify permission.

bug: 19259681
Change-Id: I27c7501d6777deec902b9cd47e194eadef391869
2015-07-06 15:16:46 -07:00
Casey Ho
becddea63e Merge "Unhide signal strength constants used by getLevel." into mnc-dev 2015-07-06 21:39:31 +00:00
Shriram Ganesh
ddf570e822 MWI,phantom call,Suppl services, error codes
1. IMS MWI Feature
- Add new API to update waiting
voice message count, for UI
propagation based on RFC 3842

2. phantom call support

Supplementary services

3. IMS : Incoming Call Barring
- Modified existing API to support
   request like registration,activation,
   deactivation,erasure,interogation.

4.Unsol supplementary service notification
- send unsol supplementary notification to UI
- add call history info

Miscellaneous
5. Ims: Originate conference call in DIALING state

6. IMS: Addition of Extras to ImsCallProfile
- Add EXTRA string definitions to ImsCallProfile

7. IMS: Definition of error code
- answered elsewhere
- FDN call failure

8.
- Propagate IMS supplementary services to telephony framework
- Introduce call forwarding history info.

Bug: 21725750
Squash of 2 earlier CLs:
         Change-Id: I52a64e9a5df3479189f62921a01655a50fb386fc
         Change-Id: Idc3a433785e84a3d683cbcfc7fb90f0b89dced12

Change-Id: I428ce3c6a043e43b86dea41622e0a828d8b45e53
2015-07-06 11:28:19 -07:00
Etan Cohen
b304fc0aaf Rename VoLTE/WFC enable API to available - add VT available API.
Renamed API to use consistent semantics: available refers to the current
state of the service rather then whether feature is enabled by device/carrier/
user.

Added VT API to match VoLTE/WFC.

Change-Id: Ifb31f123db77e731e75a982b8594168f59a289e7
2015-07-06 11:28:18 -07:00
Svet Ganov
4b2698ba5e Merge "Workaround legacy TelephonyManager.getDefault() with no context" into mnc-dev 2015-07-01 23:58:46 +00:00
Svet Ganov
4e792cbe75 Workaround legacy TelephonyManager.getDefault() with no context
bug:22201450

Change-Id: If591bd90f3e4081c411dfa6415853c110a62a7fb
2015-07-01 12:41:22 -07:00
Makoto Onuki
a10277e3e4 Merge "Allow default SMS app to get self phone number" into mnc-dev 2015-07-01 18:06:38 +00:00