Tobias Thierer
ca01820735
Avoid instantiations of Boolean that are immediately unboxed.
...
Replaced Boolean.valueOf() -> parseBoolean() across frameworks/base
(not including Am.java, which I'm leaving for a separate change).
Also fixed a couple of other valueOf()s in SyncStorageEngine.
Bug: 28289401
Change-Id: I2c6fb39a465885e7e625ed8894b1b9f8a30da5bc
2016-04-22 14:21:12 +01:00
Bill Yi
2528fcdfbd
Merge commit '26ada7e78993241d702a908eae93d174cbb3c8b3' into HEAD
...
Change-Id: Ifc45930160cf01ee78ecfbfdc48697055f82e0a7
2016-02-17 11:38:55 -08:00
Paul Duffin
c2884fe259
Replace usages of ShortNumberUtil with ShortNumberInfo
...
The ShortNumberInfo class appears to support the exact same
methods as the ShortNumberUtil class (at least in terms of the
methods used by this project) but is a singleton and so
instances cannot be created directly but instead must be
retrieved using the static getInstance() method.
The ShortNumberUtil class was deprecated in version 5.8 and
removed in 7.2.3 of libphonenumber. This change is required in
order to allow libphonenumber to be upgraded to 7.2.4.
Bug: 26975810
Change-Id: Ide40c65d12cb44453f84600fc4b5ad1ee1088470
2016-02-09 16:40:53 +00:00
Amit Mahajan
658fdf8426
Merge "DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mnc-dr1.5-dev
2016-01-14 06:26:26 +00:00
Amit Mahajan
7e8b8f1734
DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE
...
Bug: 24147407
Change-Id: Ida957b9cc6b9c3e13bc8660213ce5cf979c886d5
2016-01-14 01:59:55 +00:00
Sungmin Choi
d3b2826a1a
Add carrier config variable to support editable wfc mode
...
Some operators support Wi-Fi Calling only, not VoLTE.
They don't need "Cellular preferred" option.
In this case, set uneditalbe attribute for preferred preference.
Bug: 26299288
Change-Id: I58b44bbd85bb5ef436d32a5e34d7372532695b91
2016-01-11 11:07:06 -08:00
Robert Greenwalt
064eb2a7cc
Merge "Check permissions on getDeviceId." into mnc-dr-dev
...
am: ef58df63d6
* commit 'ef58df63d6ba9d56620b6a440f15d0e07c842a44':
Check permissions on getDeviceId.
2015-12-17 23:01:33 +00:00
Robert Greenwalt
d8231b9f37
Check permissions on getDeviceId.
...
This needs the package name passed in, so the aidl changes.
bug:25778215
Change-Id: I72f3456a2774a7ad5104424daea9e046ee9c6360
2015-12-07 12:38:48 -08:00
Chenjie Luo
90bc39d7e3
Check NPE beforehand instead of catching it at runtime
...
This will fix the page fault when watch rings during incoming call
Bug: 25904666
Change-Id: Ia7e6db0628108dbf298e3811a846534ba69c0b46
2015-12-03 14:58:01 -08:00
Tyler Gunn
48a0c3ae8d
Merge "Improve comment on EXTRA_CALL_RAT_TYPE." into mnc-dr-dev
...
am: 8b86c76296
* commit '8b86c7629676eeea490531b2a412873e0196eb6f':
Improve comment on EXTRA_CALL_RAT_TYPE.
2015-11-03 04:49:33 +00:00
Tyler Gunn
8b86c76296
Merge "Improve comment on EXTRA_CALL_RAT_TYPE." into mnc-dr-dev
2015-11-03 04:44:53 +00:00
Sanket Padawe
71f018a411
Merge "Fix a crash while printing ICCID because of alphabets in UICC." into mnc-dr-dev
...
am: b57c65b00e
* commit 'b57c65b00efbcc6c8ed5a64b2c314dbca72d5554':
Fix a crash while printing ICCID because of alphabets in UICC.
2015-11-03 01:52:13 +00:00
Sanket Padawe
f149dcb36e
Fix a crash while printing ICCID because of alphabets in UICC.
...
Bug: 25401769
Change-Id: Ieda058817b8d3cb4b1696fd9932bd0f10da55573
2015-11-02 15:45:18 -08:00
Tyler Gunn
3ffb08aa5c
Improve comment on EXTRA_CALL_RAT_TYPE.
...
Adding comments to EXTRA_CALL_RAT_TYPE to make it clear what it is used
for, and what values are expected.
Bug: 20144385
Change-Id: I248aca61abc8a57d7aeef650e48cc498e41c859b
2015-11-02 11:24:57 -08:00
Pavel Zhamaitsiak
b5ab0ec3c0
Merge "IMS: Support For Per-Call RAT Info" into mnc-dr-dev
...
am: 4ec415800f
* commit '4ec415800fd55d2bb128d7635f8b984145dbe983':
IMS: Support For Per-Call RAT Info
2015-10-30 14:26:51 +00:00
Omkar Kolangade
3b0437eda3
IMS: Support For Per-Call RAT Info
...
Adding the extra key that will be used to
propagate RAT information for each call via
call extras. The key is used in IMS Service.
Bug: 20144385
Change-Id: Ia7ca81d661afb579fd25315036c43489b1dca50d
2015-10-29 19:00:26 -07:00
Nathan Harold
64e8bdc476
Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()
...
am: 0dccd12800
* commit '0dccd128001ceff9437f736bd70dfd1986e315d5':
Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()
2015-10-22 05:23:34 +00:00
Nathan Harold
0dccd12800
Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()
...
-Fixed doc string
Bug: 23979591
This reverts commit f7b6474de87fd2eee377dc612c757102cdacc003.
Change-Id: I127f1452f4319a154dd4d962d4a63c84f0833702
2015-10-21 20:35:46 -07:00
Nathan Harold
5be7dbc88d
Merge "Revert "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()"" into mnc-dr-dev
...
am: 42015c4081
* commit '42015c4081f9d37d579f0be15e11725cf6cc5fba':
Revert "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()"
2015-10-22 02:58:15 +00:00
Nathan Harold
f7b6474de8
Revert "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()"
...
This reverts commit 5d1429e0dd1a13f76dbb354f9e4e415f71956299.
Doc string isn't resolving. Temporarily reverting.
Change-Id: I128b13abcf938c96b24225e373ac0885c24e083e
2015-10-22 02:53:57 +00:00
Nathan Harold
dc9f8fab0f
Merge "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()" into mnc-dr-dev
...
am: f8a4dc4a6f
* commit 'f8a4dc4a6f8383fc2999ce1292d900912a0da842':
Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()
2015-10-22 02:03:32 +00:00
Nathan Harold
5d1429e0dd
Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()
...
Bug: 23979591
Change-Id: I16ffa7666fdf0eb081bb1bafa57ebd384d7c3fdf
2015-10-21 11:32:51 -07:00
Pavel Zhamaitsiak
d91b1f6bb8
Merge "Carrier Config: Add KEY_CARRIER_IMS_GBA_REQUIRED_BOOL flag" into mnc-dr-dev
...
am: d99aade6e2
* commit 'd99aade6e2c001cbb8e32c9342f20404bd614443':
Carrier Config: Add KEY_CARRIER_IMS_GBA_REQUIRED_BOOL flag
2015-10-21 00:32:10 +00:00
Pavel Zhamaitsiak
b4faf348f1
Carrier Config: Add KEY_CARRIER_IMS_GBA_REQUIRED_BOOL flag
...
Bug: 23731243
Change-Id: I3e08469ef293f0b619f95dd9fb48e8c582926270
2015-10-20 23:28:12 +00:00
Tyler Gunn
95b84f5251
am a5917b71: Merge "DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA." into mnc-dr-dev
...
* commit 'a5917b71b0e2f98fa6906b795b28cab059cc092b':
DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA.
2015-10-16 17:40:19 +00:00
Tyler Gunn
a5917b71b0
Merge "DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA." into mnc-dr-dev
2015-10-16 17:36:40 +00:00
Roshan Pius
482e9d9984
DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA.
...
Adding a new carrier config key to specify the gap between the DTMF
tones sent out to the network. Setting it to 100ms by default.
This is based on a similar set of changes for IMS calls: ag/747865.
BUG: 19118840
Change-Id: Ifb64fe406509fe7c401ad1c4b4e906d6643e327b
2015-10-16 09:45:29 -07:00
Sanket Padawe
001a651e4b
am 8d6d735f: Merge "Mask IccId which gets printed in bug reports & radio logs." into mnc-dr-dev
...
* commit '8d6d735fa8cea74f53ba29063b72b856fef69d8e':
Mask IccId which gets printed in bug reports & radio logs.
2015-10-16 00:41:44 +00:00
Sanket Padawe
fb34a123ed
Mask IccId which gets printed in bug reports & radio logs.
...
Bug: 24941148
Change-Id: Ibe397f5d9b0da245e3e64f626937db4792c7f3c2
2015-10-15 15:46:39 -07:00
Amit Mahajan
8fb8c37ca7
am 7b28e6ec: Merge "Adding config to allow/disallow user to add APNs." into mnc-dr-dev
...
* commit '7b28e6ec96dfcb20cef1f321ac7539bac439d726':
Adding config to allow/disallow user to add APNs.
2015-10-14 23:42:13 +00:00
Amit Mahajan
7b28e6ec96
Merge "Adding config to allow/disallow user to add APNs." into mnc-dr-dev
2015-10-14 23:33:02 +00:00
Vineeta Srivastava
ecf89edf36
am 8a586c55: Merge "TDSCDMA: RSSI bar moves 1 bar into no signal without going through 0 bar" into mnc-dr-dev
...
* commit '8a586c55022ee272bdcf712c7aa4e1652a261c5a':
TDSCDMA: RSSI bar moves 1 bar into no signal without going through 0 bar
2015-10-14 21:45:06 +00:00
Sungmin Choi
b053b3cc60
TDSCDMA: RSSI bar moves 1 bar into no signal without going through 0 bar
...
Bug: 24850563
Change-Id: I36e54e9bde9610f908b1092e11c476dcae76526d
Signed-off-by: haesun.kim <haesun.kim@lge.com>
Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>
2015-10-14 11:13:50 -07:00
Amit Mahajan
412e7c8b52
Adding config to allow/disallow user to add APNs.
...
Bug: 24519879
Bug: 24681288
Change-Id: I7f9b54e56a5e7f20b156609c560480440241ede8
2015-10-12 12:13:29 -07:00
Shishir Agrawal
04feedd439
am 896f738c: Merge "Allow non-persistent manual network selection." into mnc-dr-dev
...
* commit '896f738cdddec8cfda82b177e3a60c5a85004229':
Allow non-persistent manual network selection.
2015-09-18 02:02:11 +00:00
Shishir Agrawal
896f738cdd
Merge "Allow non-persistent manual network selection." into mnc-dr-dev
2015-09-18 01:49:58 +00:00
Jack Yu
717e39df1c
am 870a9e6a: Merge "Added a carrier config key for emergency messages on/off option always showing." into mnc-dr-dev
...
* commit '870a9e6a783c7755b059d8533ae0232873bff9ba':
Added a carrier config key for emergency messages on/off option always showing.
2015-09-16 21:02:48 +00:00
Jack Yu
6af6c346ee
Added a carrier config key for emergency messages on/off option always showing.
...
Adding a carrier config key that allows carriers to show "Turn on Notifications"
checkbox in Settings->More->Emergency broadcasts setting menu. If this key
exists and is set to true, this checkbox will always show up regardless of
developer options turned on or not.
bug:23886750
Change-Id: I54dec5830653a0e27d7ee652effe572231f1e3bb
2015-09-14 16:56:32 -07:00
Chris Manton
ae0b7ca9ad
am c9180528: Merge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev
...
* commit 'c9180528452d67359618eda4aa2edd39112c83ca':
Add capability to ignore carrier entitlement checks
2015-09-14 17:29:09 +00:00
Chris Manton
1ba0fa04de
Add capability to ignore carrier entitlement checks
...
Boolean to check to ignore carrier entitlement check.
API to follow later.
Carrier configuration manager has an option
to override tethering entitlement checks.
Ignore entitlement checks if overridden by
the carrier configuration flag.
bug:23712807
Change-Id: I6c9b3b9994279e592db304debef54809338fe9cf
2015-09-11 14:33:22 -07:00
Tyler Gunn
ca7240a072
am 8ed28188: Merge "Add carrier config for characters to escape with backslash." into mnc-dr-dev
...
* commit '8ed28188b95be4f377909ac2abacaef76e004a61':
Add carrier config for characters to escape with backslash.
2015-09-11 15:43:19 +00:00
Tyler Gunn
8ed28188b9
Merge "Add carrier config for characters to escape with backslash." into mnc-dr-dev
2015-09-11 15:37:40 +00:00
Roshan Pius
e3d006b1ab
am 0a067dc7: Merge "Add a new carrier config for DTMF tone gap." into mnc-dr-dev
...
* commit '0a067dc711b19a70ad5980fa360b2df2337a55b1':
Add a new carrier config for DTMF tone gap.
2015-09-11 06:18:33 +00:00
Roshan Pius
0a067dc711
Merge "Add a new carrier config for DTMF tone gap." into mnc-dr-dev
2015-09-11 06:13:12 +00:00
Shishir Agrawal
e25bd01ad6
Allow non-persistent manual network selection.
...
Allow the API to specify if the selection should be persisted across reboots.
This also has the side affect of not notifying the user when signal is lost.
Necessary becasue the API might be used transparent to the user and the
notifications will be bizarre.
Bug: 23971948
Change-Id: Ibb15144fb8a61f63a9c967d875d9ce8c70520ff0
2015-09-10 14:42:08 -07:00
Tyler Gunn
14be4cfc8b
Add carrier config for characters to escape with backslash.
...
Bug: 22779583
Change-Id: I21ab2c9a4f15bcf96c5b978e7cac4638db259087
2015-09-10 13:33:28 -07:00
Roshan Pius
dc364fe1e8
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.
This is the same fix as ag/747865 ported for GSM connections.
BUG: 23064351
Change-Id: I4163323378e380ac187493fa91694721269124b9
2015-09-10 10:31:31 -07:00
Amit Mahajan
5a45dc960b
am 0018323c: Merge "Add carrier config variable to hide preferred network type" into mnc-dr-dev
...
* commit '0018323c07d119fde7260d66f60dd9987c7b74ea':
Add carrier config variable to hide preferred network type
2015-09-10 01:04:43 +00:00
Sungmin Choi
c03a1da5a5
Add carrier config variable to hide preferred network type
...
Bug: 23862319
Change-Id: I99403f358f0b53f366083edafc3762f5679b0b45
2015-09-09 17:42:32 -07:00
Vineeta Srivastava
95198ee9ce
am ebd14658: Merge "Add carrier config variable to hide ims apn" into mnc-dr-dev
...
* commit 'ebd1465885af2a1de5a885dac791ee6184f85d7f':
Add carrier config variable to hide ims apn
2015-09-09 17:22:28 +00:00