History log of /packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
195bb80c1d1baeacd9433869c06434771f7ea780 06-Jun-2018 Jordan Liu <jminjie@google.com> Revert "Use resource instead of carrier config"

This reverts commit cadd9cd61eede63bc93ab1cc03010240a8953946.

Test: manually verified locally that the Preferred Network Type menu
shows only three options
Fixes: 109773307
Bug: 80541766
Bug: 70309465
Bug: 80088968
Change-Id: Ia4238133f2f34998ef44f5f2cfd616ea3f7a50c1
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
cadd9cd61eede63bc93ab1cc03010240a8953946 31-May-2018 Jordan Liu <jminjie@google.com> Use resource instead of carrier config

The carrier config is not yet set correctly. In the future we can
finish the migration to the carrier config. This is tracked in
b/80541766.

Bug: 70309465
Bug: 80088968
Test: verified that Sprint does not show APNs and Verizon does
Change-Id: I04a1d60ce6ea264a9ca9a8a5456801ce179e98c6
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
f399859c6dbfa56e81e80b55d00ab0d8c2180596 07-Dec-2017 Susheel nyamala <snyamala@codeaurora.org> Fix apn option display issue for world phone mode

When configs world_phone_bool and show_apn_setting_cdma_bool are enabled,
'Access Point Names' is displayed twice under Network Settings, as this
preference is added from both GsmUmtsOptions and CdmaOptions.
Fix is to add preference from CdmaOptions only if phone type is cdma and
show_apn_setting_cdma_bool config is enabled.

Bug: 70309465
Test: builds, and CdmaOptionsTest.java, manually verify no duplicated
APN expandable preference on CDMA/GSM world phone
Change-Id: Ia89b0b882604e287a996fec86c9c961df704f1e8
Merged-In: Ia89b0b882604e287a996fec86c9c961df704f1e8
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
ff13946591c0ba10887199de8e898ce58ea1c590 12-Apr-2018 Qingxi Li <qingxi@google.com> Add Global Settings to decide whether show Carrier menu

Add Global Settings EUICC_SUPPORTED_COUNTRIES. When the device enabled
esim UI by default and the users in eSIM supported countries, even if
eSIM is not provisioned, carrier menu will be shown. This global
settings will be updated by eSIM mamanger when the phone boot up.

Bug: 77638033
Test: E2E & bit TeleServiceTests:*
Change-Id: Ie664c5670b9aee8b3178dbbec19dca433d4549ce
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
ec28b77bbad4ad05db2ce4f075fd45ce4fefc784 14-Mar-2018 Qingxi Li <qingxi@google.com> [UI Tweak] Unhide Mobile network > Carrier

When the device is not eSIM ignored device and even the device hasn't
downloaded eSIM profile, we still need to show Mobile network > Carrier.
This should only be true when esim.enable_esim_default_ui is false.

Bug: 74771471
Test: bit TeleServiceTests:* & E2E
Change-Id: I14ba859ba70c9f251e743d5f812b541b0511ffbd
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
17b3a6f5ccc256d8ddfa060110e313cf29d098bd 15-Mar-2018 fionaxu <fionaxu@google.com> support expanding advanced settings from intent extra

Bug: 37578776
Test: Manual
Change-Id: Ie4136f8ada54858c2120b362bb8ee8c5ee2563b2
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
d6d332780ab990145b49acd8430ecf8e16174037 27-Feb-2018 Alex Chau <alexchau@google.com> Disable APN settings preference when DPC APNs are enforced

- As MobileNetworkSettings are ~10 dependent classes is not using support library, created a RestrictedPreference in com.android.phone similar to com.android.phone.RestrictedSwitchPreference

Bug: 72484718
Test: In TestDPC, enable override APN, APN setting preference is disabled. Switch to test DPC, disable override APN, APN setting preference is enabled.
Change-Id: I9c2e1e53106051a07e2f83ba20b7bc579bd12821
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
2b4ffd1ad1252a186eb57d482496d3e5f059cd5d 28-Feb-2018 Malcolm Chen <refuhoo@google.com> Merge "Disable certain mobile settings during phone call." am: e91a3a3f77 am: 952819079f
am: 22af4ef1fd

Change-Id: I9592d2b6e54eb53751123b7a744310ffdd96a80b
4042eb4785a60ac69486efba8614b4a8bf39f529 27-Feb-2018 Malcolm Chen <refuhoo@google.com> Disable certain mobile settings during phone call.

In MobileNetworkSettings, dynamically update phoneStateListener
to listen to correct subId and enable / disable enhanced_4g,
wifi_calling, video_calling buttons accordingly.

Bug: 67576696
Test: manual
Change-Id: I0bdc8a748a3d05697760844beb9a8dd9656680e8
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
a31075b8c80afb79e1408932f04ce48d63554a97 17-Feb-2018 Minoru Sakuma <minoru.x.sakuma@sonymobile.com> Merge "Check all sub call state to disable VT setting" am: 877a03010c am: fac8439aaf
am: 397ea21e2d

Change-Id: I093539ad7553abac37e27c394b21992983b1c2eb
7a2643b583486a3e1479f6c87d6f8d39292efb9a 25-Aug-2017 Minoru Sakuma <minoru.x.sakuma@sonymobile.com> Check all sub call state to disable VT setting

If user makes a call with a non primary call sub, VT setting is not
disabled. Because these settings checks only call state of primary call
sub. All call sub should be checked and disable VT setting.

Test: manual - Verified that VT setting is disabled during non default
call sub calling.
Bug: 69722270

Change-Id: I6a00bc63f3fcd426ceb01777633ad246d363878f
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
a12246d25b422ac7818b800f23947cb2ffea5079 16-Jan-2018 Brad Ebinger <breadley@google.com> Integrate MMTel API into the framework

1) Futher integration of the ImsSerice
Test App for verification.

2) Changes some classes to integrate with the
new ImsService API.

3) Adds enable/DisableIms API and some more
misc. piping into telephony from
TelephonyManager.

Bug: 63987047
Test: Run ImsService Test App
Merged-In: Id34823fcaa9975968e2fd223f53f756a46da24bd
Change-Id: Id34823fcaa9975968e2fd223f53f756a46da24bd
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
9a149218aec951b56d18c2ce6d65623924a93e5a 30-Jan-2018 Brad Ebinger <breadley@google.com> Merge changes from topic "ims_imsservice_apis"

* changes:
Modify ImsService API namespaces
Integrate MMTel API into the framework
Test App for ImsService
5ec7241c64261d6fb34e7682818900ebeec1a39f 22-Dec-2017 Malcolm Chen <refuhoo@google.com> Add null check in hideEnhanced4gLteSettings.

Add null check in hideEnhanced4gLteSettings to avoid crash.

Bug: 70900076
Test: manual
Change-Id: I27a1c23715c3e2843018bee1ea817471403861d7
Merged-In: I27a1c23715c3e2843018bee1ea817471403861d7
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
dd1538c5c9ee866fef072c586b4e747af087c204 22-Jan-2018 Qingxi Li <qingxi@google.com> Merge "Revert "Move Carrier Preference out of Advanced""
22bc3e4ce03d64e38ae3c40442b111b0f624d150 16-Jan-2018 Brad Ebinger <breadley@google.com> Integrate MMTel API into the framework

1) Futher integration of the ImsSerice
Test App for verification.

2) Changes some classes to integrate with the
new ImsService API.

3) Adds enable/DisableIms API and some more
misc. piping into telephony from
TelephonyManager.

Bug: 63987047
Test: Run ImsService Test App
Change-Id: Id34823fcaa9975968e2fd223f53f756a46da24bd
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
5a5321e687d99d88f834a6d85e0ba3f2c591de84 20-Jan-2018 Qingxi Li <qingxi@google.com> Revert "Move Carrier Preference out of Advanced"

This reverts commit 3f10321d27ab28489efb5d41a4bfc3913af57902.

Reason for revert:
UX decide to revert this.

Change-Id: I1780e06369f7cd90e0bbd5ed94d21dc77b2574ea
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
995721f541e0baba6e08ef7bf530b02b7dd388fa 13-Dec-2017 Malcolm Chen <refuhoo@google.com> Replace ImsManager static methods with proper ones.

ImsManager static methods are deprecated since it doesn't support
MSIM devices. It will now always call getInstance with phoneId and
then call corresponding non-static methods.

Bug: 67602046
Test: regression tests
Change-Id: Iad4baa81c475704ea552c83b3beed93b08532722
Merged-In: Iad4baa81c475704ea552c83b3beed93b08532722
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
46943dab76007e519266a49f2ed2cf9349632ab3 12-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Move Carrier Preference out of Advanced"
3f10321d27ab28489efb5d41a4bfc3913af57902 12-Jan-2018 Qingxi Li <qingxi@google.com> Move Carrier Preference out of Advanced

Bug: 71870678
Test: E2E
Change-Id: Iea814730f0bf886a613d4be8c1217db3454c37c9
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
7d69db079e6fd9c22c71b05b14b64e004199627b 02-Jan-2018 pkanwar <pkanwar@google.com> Change warning message for roaming for DTAG.

Bug: 64106612
Test: manual
Change-Id: Ia94a4097330b6b1c4de7e94ddfa9685328241af5
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
4abe426049d8435febaf3e488e11d957e797e69b 05-Oct-2017 Malcolm Chen <refuhoo@google.com> Multi-sim support for Ims related settings.

Replace all ImsManager static function calls with per instance calls.
Which means we have a mImsManager instance bond to urrent
phoneId / slotId / subId.

Bug: 66699661
Test: Manual
Change-Id: If511127ed1272afcf6c9986ac7affe558120ab22
Merged-In: If511127ed1272afcf6c9986ac7affe558120ab22
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
84bf5c765c56522282aff36a620aeca2124c8901 27-Dec-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Fix issue that Wifi Calling preference is showing wrong value."
66678043888eea194a5c307920bd7fd35f7bb1e2 26-Oct-2017 Malcolm Chen <refuhoo@google.com> Fix issue that Wifi Calling preference is showing wrong value.

When showing current Wifi Calling setting, we should decide
whether it's roaming based on telephony.isnetworkRoaming() instead
of checking the roaming button in setting page.

Bug: 67442943
Test: manual
Change-Id: I617cd4709a94ca888318e4903b0cdd2b00f3d84e
Merged-In: I617cd4709a94ca888318e4903b0cdd2b00f3d84e
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
05e1108b3e0e99063b226fb76708188baba36cc3 24-Aug-2017 Jordan Liu <jminjie@google.com> Disallow MobileNetworkSettings on secondary user

Since these settings rely on the Phone, which is not available to
secondary users, we show the disallowed preference screen instead of
crashing.

Change-Id: Ia1f8dca09130cd27d736ac45363a96492a6f6956
Merged-In: Ia1f8dca09130cd27d736ac45363a96492a6f6956
Fixes: 64699411
Test: activity does not crash on guest user
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
3f2dd6856ba3795d8dfa936bafbe48de64c5aaab 25-Jul-2017 Malcolm Chen <refuhoo@google.com> Adding MetricsEvent for "Mobile network" UI.

Adding ENUMS of MetricsEvent for "Mobile network" UI. It will
record events of any button clicked, switch toggled and value
changed inside "Mobile network".

Bug: 34775714
Test: Manual
Change-Id: I98f81489319f6cda6921b88eb04e79978cad800d
Merged-In: I98f81489319f6cda6921b88eb04e79978cad800d
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
d5aa1e7d24f49693ce1cb177e2ed19d2c7f7842b 22-Dec-2017 Malcolm Chen <refuhoo@google.com> Add null check in hideEnhanced4gLteSettings.

Add null check in hideEnhanced4gLteSettings to avoid crash.

Bug: 70900076
Test: manual
Change-Id: I27a1c23715c3e2843018bee1ea817471403861d7
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
fbf47711a2a1ca462a02d60c39aa64887be25b5f 13-Dec-2017 Malcolm Chen <refuhoo@google.com> Replace ImsManager static methods with proper ones.

ImsManager static methods are deprecated since it doesn't support
MSIM devices. It will now always call getInstance with phoneId and
then call corresponding non-static methods.

Bug: 67602046
Test: regression tests
Change-Id: Iad4baa81c475704ea552c83b3beed93b08532722
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
5bd92884db32c5652a3f4a586df0d611d5181e16 14-Nov-2017 Xin Li <delphij@google.com> Merge commit '1071dd7523cbacbf6c8c1306f958435465ca8084' from
oc-mr1-dev-plus-aosp-without-vendor into stage-aosp-master

Change-Id: I5604336aef76a427ad34fa4541497b0549bc0d66
Merged-In: Ib8021d308781d8c941c10d231d5bad8896bdb370
2405342d359563e0ba378daddd6ba814eedb0761 05-Oct-2017 Malcolm Chen <refuhoo@google.com> Multi-sim support for Ims related settings.

Replace all ImsManager static function calls with per instance calls.
Which means we have a mImsManager instance bond to urrent
phoneId / slotId / subId.

Bug: 66699661
Test: Manual
Change-Id: If511127ed1272afcf6c9986ac7affe558120ab22
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
cf0a59d7b3557a259c40a7f1202bba18577d2b01 13-Nov-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Merge "Network Operator" into "Mobile network" main activity."
35ac10d04a2026a9c018d64c31bf008470f7a605 07-Nov-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Update references to Settings.EXTRA_SUB_ID."
b11e891426e39f6ad68d15953d487d8e66bcc675 07-Nov-2017 Brad Ebinger <breadley@google.com> Merge "IMS: Show IMS UI options only if Ims feature is ready" am: 8a67a3420d am: a5cb762aac
am: 44bf933029

Change-Id: I891d1bbd0a12d6f37b745b42b50fd80e1bf7e2d0
44bf93302945ecccc98225d5d8affa8b08a2d6dc 07-Nov-2017 Brad Ebinger <breadley@google.com> Merge "IMS: Show IMS UI options only if Ims feature is ready" am: 8a67a3420d
am: a5cb762aac

Change-Id: Ief1aa8fefd08998b69df0e311724d0184201c775
6d9bf52509149052f78337d64a91ff076294994c 03-Nov-2017 Jeff Davidson <jpd@google.com> Update references to Settings.EXTRA_SUB_ID.

Bug: 67751543
Test: TH only; no functional changes
Change-Id: I4252d0fb53532fbea73116cc7b79f2321df9fdcc
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
57f1899dbecb4823b8cda7c7998fc809329928d6 20-Jul-2017 Benergy Meenan Ravuri <bravuri@codeaurora.org> IMS: Show IMS UI options only if Ims feature is ready

Remove Turn on Video Calling, Wifi calling and Enhanced
4G LTE mode UI options if IMS feature is not ready.

Test: Manual
Bug: 64098630
Change-Id: If7e49825bfc4a4a4ebe7dd15f94673466fc84d83
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
39aa79160eb1dc89eece0aeb5ce163eb64465ffa 06-Jun-2017 Malcolm Chen <refuhoo@google.com> Merge "Network Operator" into "Mobile network" main activity.

Re-write "Network Operator" setting section. Now auto and manual
network select buttons are SwitchPreference and ListPreference
respectively. They are moret tightly coupled and merged into
"Mobile network" main fragment.
Network select button is now a customized ListPreference, which
start network query when clicked, and show query result as list
of networks to choose from.

Test: manual
Bug: 62200802
Change-Id: I8dd796462e14eb6272371bfcc580ad94d199bb67
Merged-In: I8dd796462e14eb6272371bfcc580ad94d199bb67
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
653820898e3ad9b07f9e73c49ebb36c1a1aa077d 12-Jun-2017 Malcolm Chen <refuhoo@google.com> Add Calling category into Mobile network settings.

This category includes WiFi calling setting and Carrier Video
calling setting.

Bug: 62201189
Test: manual
Change-Id: I26362619d0f6bafea49c47428d57626c9a01380a
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
f2502e9ddc250b104d501dd7535448cc85622eb6 30-Oct-2017 Pengquan Meng <mpq@google.com> Merge "Improves data-roaming settings experience"
8783d93a48b87370cd43ce99138ca98da12f6fa6 16-Oct-2017 Pengquan Meng <mpq@google.com> Improves data-roaming settings experience

Adds dds id to the data roaming notification so the mobile network
settings can use this id to focused on the correspond sim tab.

Test: manually test
Bug: 67861042

Change-Id: I34559e6854984bbf254b4237479b94fd2253b6d3
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
efaac7bdd99680cbdef00e2f1a3a0c43e6d0ec50 26-Oct-2017 Malcolm Chen <refuhoo@google.com> Fix issue that Wifi Calling preference is showing wrong value.

When showing current Wifi Calling setting, we should decide
whether it's roaming based on telephony.isnetworkRoaming() instead
of checking the roaming button in setting page.

Bug: 67442943
Test: manual
Change-Id: I617cd4709a94ca888318e4903b0cdd2b00f3d84e
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
e245aab5325de5334e09a1515d93ccca5a03f1a0 13-Oct-2017 Jordan Liu <jminjie@google.com> Merge "Disable the charge popup when the roaming is turned ON" am: e6fcfba051 am: 8fd6e1147d
am: 1c74e6c4b7

Change-Id: I6621667a0499632afcecdbbd50d4804ff5460a91
8fd6e1147dc24a912b534b5d9c28031b45d528f8 13-Oct-2017 Jordan Liu <jminjie@google.com> Merge "Disable the charge popup when the roaming is turned ON"
am: e6fcfba051

Change-Id: I108d0c108f1eedb2fe7bb5776dfa021d087e95a4
645c3744c49b1d0237209a3ac9339cf07e4fd629 22-Aug-2017 Emily Chai <emily.chai@sonymobile.com> Disable the charge popup when the roaming is turned ON

Some carriers require to suppress the AoC(Advice of Charge) indication.
Disable the charge popup when the roaming is turned ON if
KEY_DISABLE_CHARGE_INDICATION_BOOL carrier config is true.

Test: manual - Checked that the charge popup is not shown after turning
ON roaming with KEY_DISABLE_CHARGE_INDICATION_BOOL is true
Bug: 65036581
Merged-In: I99bd63fce6483617efdc5b90e4805e07a83ffb6c
Change-Id: I99bd63fce6483617efdc5b90e4805e07a83ffb6c
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
8ea9f4c12e04d49c8ba38f3f1940ddabc579a5cc 22-Aug-2017 Emily Chai <emily.chai@sonymobile.com> Disable the charge popup when the roaming is turned ON

Some carriers require to suppress the AoC(Advice of Charge) indication.
Disable the charge popup when the roaming is turned ON if
KEY_DISABLE_CHARGE_INDICATION_BOOL carrier config is true.

Test: manual - Checked that the charge popup is not shown after turning
ON roaming with KEY_DISABLE_CHARGE_INDICATION_BOOL is true
Bug: 65036581

Change-Id: I99bd63fce6483617efdc5b90e4805e07a83ffb6c
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
0ce221ca9259a72b764186162452527d96fdc79d 16-Sep-2017 Jordan Liu <jminjie@google.com> Merge "Add TD-SCDMA related network mode options" am: 20281e2f7c am: f5831ef556
am: f0ae69e87e

Change-Id: Icc4feffb620a28c5c8d9751fbb7ed51e0e353e0b
f5831ef556338c80d48f45fe4ed3e33883974e16 16-Sep-2017 Jordan Liu <jminjie@google.com> Merge "Add TD-SCDMA related network mode options"
am: 20281e2f7c

Change-Id: I5b7f6843f73764f7a0ae24ccf15e012ee73556bc
7db39022622241bb9b0dabceae2092aa1a190f8c 18-Apr-2016 Sandeep Gutta <sangutta@codeaurora.org> Add TD-SCDMA related network mode options

Add TD-SCDMA related network mode options in Mobile Network settings.

Fixes: 34962597
Test: manual
Change-Id: I80d8029e05d8423adc7249b3033499e27a7808ee
Merged-In: I80d8029e05d8423adc7249b3033499e27a7808ee
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
5df989fda5113b6954e5a3585fcc31143bd062c6 15-Sep-2017 Jordan Liu <jminjie@google.com> Merge "Add TD-SCDMA related network mode options"
0c4fd0088c9583fc5d90375fd508c2a256253cb5 18-Apr-2016 Sandeep Gutta <sangutta@codeaurora.org> Add TD-SCDMA related network mode options

Add TD-SCDMA related network mode options in Mobile Network settings.

Fixes: 34962597
Test: manual
Change-Id: I80d8029e05d8423adc7249b3033499e27a7808ee
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
c57fd3dbf324af5ea499118acc77f10f0f82f1e2 14-Sep-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix incorrect type cast of Carrier preference." into oc-mr1-dev
c778d6f895a3c08c9c535315693036be1dda281f 12-Sep-2017 Malcolm Chen <refuhoo@google.com> Fix incorrect type cast of Carrier preference.

Bug: 65556113
Test: Manual

Change-Id: I8cbfc3c2dc6410a6bc2da5d3fa41bc14f12d6044
Merged-In: I98f81489319f6cda6921b88eb04e79978cad800d
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
4ecaed14d2b14ec5a1ae1bee555c3dd05c246a99 12-Sep-2017 qingxi <qingxi@google.com> Merge "Always enabled the Advanced Option under Mobile Network Settings" into oc-mr1-dev am: 0c6d2f6917
am: 2b44ea0930

Change-Id: I1b60480c2b1e16f10ee5c7209c71f3a454e54314
5dad979df1ba7b8ceae8fc0f9f7bf0fcb460adce 09-Sep-2017 qingxi <qingxi@google.com> Always enabled the Advanced Option under Mobile Network Settings

When the user under pSIM slot without SIM card inserted, the Advanced
option will be disabled. But if the user using eSIM before, the Carrier
option under Advanced is enabled. But the user cannot access it since
the Advanced option is disabled. To solve this problem, we decide always
enable the Advanced option.

Change-Id: I743cb99ffdeb041a0b1b2ea01376abc5b91084d0
Bug: 65292100
Test: E2E
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
6776b7607d9673be1843c3b1ff8eff9ff2580b89 24-Aug-2017 Jordan Liu <jminjie@google.com> Disallow MobileNetworkSettings on secondary user

Since these settings rely on the Phone, which is not available to
secondary users, we show the disallowed preference screen instead of
crashing.

Change-Id: Ia1f8dca09130cd27d736ac45363a96492a6f6956
Fixes: 64699411
Test: activity does not crash on guest user
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
d9ffd61dd4b2e0b185795f73ec2e476cf470f681 21-Aug-2017 Winston Man <hkman@google.com> Merge "Swap the order of disabling data roaming button" into oc-mr1-dev am: dfa817a4ab
am: affbd89dcf

Change-Id: I235a6a23ad06f1a14cf3a1d5ff187f0eff792896
dfa817a4ab5b3bebf819630bf12102c4fecf7773 21-Aug-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Swap the order of disabling data roaming button" into oc-mr1-dev
e6000a56a09e62cc88ed5d30525969ce2e808173 17-Aug-2017 Winston Man <hkman@google.com> Swap the order of disabling data roaming button

In ag/2484223, it changes the order of disabling data roaming button
Revert the order back to
1 - check if there is active subscription
2 - check if it is disabled by admin

Bug: 64766332
Test: Manual test with CTS Verifier, issue in the bug cannot be reproduced
Test: Activate the phone with QR provisioning and disable data roaming,
the button is disabled as expected

Change-Id: I52b761c2a5946cfd395ddd4c79ced319408f33a8
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
1f67742d7dc2cf82cfd80e8309d93882283753cd 15-Aug-2017 Brad Ebinger <breadley@google.com> Merge "Keep 4G LTE slider disabled after call" into oc-mr1-dev am: facefe79f4
am: 1970b2515b

Change-Id: If7881b8325387d8fbf801b62b8208bb9e80503cd
7462a23fe8bc74b0143db3e18cd30b85782d7609 15-Aug-2017 Brad Ebinger <breadley@google.com> Keep 4G LTE slider disabled after call

We were not checking the carrier config after
a call ended and disabling the 4G LTE slider.
This was causing bugs where the user was able
to disable (but not enable) 4G LTE and get it
stuck in that state until reboot.

Bug: 64195239
Test: Manual
Change-Id: Ic4a9df5b195d26784638b77914874e5fc32736c1
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
3d6c7dc1d938c7a796f57e38d2ebc6d4d2cfe0fa 11-Aug-2017 Malcolm Chen <refuhoo@google.com> Merge "Remove summary of 'Advanced' preference." into oc-mr1-dev am: e5f2c9df73
am: c6f7180f0c

Change-Id: Icb41be437dde0d481dd29c77c113596bef12fb03
e5f2c9df73aa2a31b4b5cfa4da1442da8b42cf9f 11-Aug-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove summary of 'Advanced' preference." into oc-mr1-dev
c7fed2fa1d15c6320a1f210c909e2f9cca9a47ac 10-Aug-2017 Malcolm Chen <refuhoo@google.com> Remove summary of 'Advanced' preference.

The summary of 'Advanced' preference is supposed to include
all preferences that it expands to. But the preferences are
dynamically hidden and shown because of different SIM / cfg.
Since it's unrealistic to always show correct summary, we
are removing the summary.

Bug: 64074301
Test: Manual
Change-Id: I2f00212e8b788f9a90687a86da5a7472707aefb8
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
2970e9218a8dcf8de61702be5d8b2272fff8e15f 05-Aug-2017 Robert Greenwalt <rgreenwalt@google.com> Merge "String and UI tweaks for "Mobile network"." into oc-mr1-dev am: 696b67485c
am: d3de291546

Change-Id: Idd776d58816ebcd151da8707c2e72509531e94a0
696b67485cb5d1ca6ffef07af0d43344b81d0ded 05-Aug-2017 Robert Greenwalt <rgreenwalt@google.com> Merge "String and UI tweaks for "Mobile network"." into oc-mr1-dev
4086bc4358ffd613f088336498d94daa1a6d21dd 02-Aug-2017 Malcolm Chen <refuhoo@google.com> Merge "Make sure to unregister PhoneChangeReceiver." into oc-mr1-dev am: 921acf9ad5
am: b2023a4296

Change-Id: Ic87f2e2a6e4e471027dc9980fbeeeabbefa6cefe
6fea8ddd175f61ef29c54c66ab3163a4ed6dd005 29-Jul-2017 Malcolm Chen <refuhoo@google.com> String and UI tweaks for "Mobile network".

String changes.
"Mobile Data" -> "Mobile data"
Remove "between" in "Data usage" subtext.
Always add back arrow in "Mobile network" header.

Bug: 64072976
Test: Manual
Change-Id: I3f3511e6156f926a017b9d49a9fcee043541757b
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
06067de245518354e0b86949a4a0c118bff716f5 29-Jul-2017 Malcolm Chen <refuhoo@google.com> Make sure to unregister PhoneChangeReceiver.

In fragment onDestroy(), we added a check so that
PhoneChangeReceiver is not unregistered if activity is destroyed.
We should unregister regardless.

Bug: 64104962
Test: Manual
Change-Id: Ib7624005d808b8f4d06b38e98bf34b11459a45ff
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
66c618ec8c160c45f8e79b4cb714b01f041d8216 25-Jul-2017 Malcolm Chen <refuhoo@google.com> Adding MetricsEvent for "Mobile network" UI.

Adding ENUMS of MetricsEvent for "Mobile network" UI. It will
record events of any button clicked, switch toggled and value
changed inside "Mobile network".

Bug: 34775714
Test: Manual
Change-Id: I98f81489319f6cda6921b88eb04e79978cad800d
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
80e37f1f42af73597660969ff3d99f185c8bb7b1 21-Jul-2017 Malcolm Chen <refuhoo@google.com> Merge "Set default preferred network only when registered on home network." into oc-dr1-dev
am: bf11e47562

Change-Id: Ia6641e6037247edf3f5641fd473bbd0d97430e60
58d8f6eb3f6c9822a11ae77526eea69f05a0f812 21-Jul-2017 Malcolm Chen <refuhoo@google.com> Merge "Set default preferred network only when registered on home network." into oc-dr1-dev
am: bf11e47562

Change-Id: I765666882f9f7c8f5f048e18ef648c885add50a3
c0e7bb788ae7ced1de1124cd2b7f5f4f0f60a785 18-Jul-2017 Malcolm Chen <refuhoo@google.com> Set default preferred network only when registered on home network.

For certain carriers, we hide "Preferred network type" setting UI and
set to default preferred network type if it's not roaming. Here
we are making sure we do it only when it's registered on home
network. Because during searching, the network type is also "home".

Bug: 63088061
Test: Manual

Merged-In: I121c7712944182fcb3bd1a320616eb57ebe0c0d0
Change-Id: I121c7712944182fcb3bd1a320616eb57ebe0c0d0
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
6a689fe7c531b327d9330db9a5a19adceefe6ed3 20-Jul-2017 Xiangyu/Malcolm Chen <refuhoo@google.com> Merge "Set default preferred network only when registered on home network."
402d6dd5a59f99b015f608fab862eb37c1976804 18-Jul-2017 Malcolm Chen <refuhoo@google.com> Set default preferred network only when registered on home network.

For certain carriers, we hide "Preferred network type" setting UI and
set to default preferred network type if it's not roaming. Here
we are making sure we do it only when it's registered on home
network. Because during searching, the network type is also "home".

Bug: 63088061
Test: Manual

Change-Id: I121c7712944182fcb3bd1a320616eb57ebe0c0d0
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
833d4accbf1c0889b3974a8f34116e423960dd4f 12-Jul-2017 Malcolm Chen <refuhoo@google.com> Re-use CdmaOptions and GsmUmtsOptions instances.

When updating Mobile network settings UI page, we now reuse instances
of CdmaOptions / GsmUmtsOptions and preferences inside them, if
possible, instead of always creating them. This is more efficient.
And it eliminates issues where dialog and service could link to
deprecated instances.
Show progress bar when turning "Automatically select network" on.

Bug: 63538855
Test: manual

Change-Id: If84c742bb498f36187c4460025dc5675e5ce906c
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
c0e7a11066228130251ecde80c8b963c76ce1617 14-Jul-2017 qingxi <qingxi@google.com> Merge "Remove phone number in eSIM preference Screen" into oc-dr1-dev
am: 92c98066a4

Change-Id: I4d0fbfae9a6d6a9fef9392e1132f004741ba5cba
92c98066a42daed31d0d2eec4e2f998790bee5ea 14-Jul-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove phone number in eSIM preference Screen" into oc-dr1-dev
1a02137cbd1e83d342182ae6851993b7ab23af9f 11-Jul-2017 qingxi <qingxi@google.com> Remove phone number in eSIM preference Screen

Remove the last four digits of the phone number shown in the eSIM
preference screen's summary in network mobile settings and only leave
the carrier name as the summary.

Bug: 63584207
Test: TreeHugger
Change-Id: I19338c2e385df51e66592189692d1623e49af2bc
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
d08b00052eda2ea2efe9d6554e3609f733caab9d 11-Jul-2017 qingxi <qingxi@google.com> Remove phone number in eSIM preference Screen

Remove the last four digits of the phone number shown in the eSIM
preference screen's summary in network mobile settings and only leave
the carrier name as the summary.

Bug: 63584207
Test: TreeHugger
Merged-In: I19338c2e385df51e66592189692d1623e49af2bc
Change-Id: I19338c2e385df51e66592189692d1623e49af2bc
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
7057d93da628c651f320987ad70dc69e4fd96e1c 13-Jul-2017 qingxi <qingxi@google.com> Change the index of enhanced_4g_lte am: 2f7afb3688
am: a452c584c4

Change-Id: I913a74849c3e0fed3acaab3f602a4695f2ee6a1c
a452c584c406fdcb31fac1a73b84c1b8edf79645 13-Jul-2017 qingxi <qingxi@google.com> Change the index of enhanced_4g_lte
am: 2f7afb3688

Change-Id: If6bcbb028ea1e3ee50445f1299d2087924ec52c0
121c6d6130a8ab892b9f4f2871f8119986f8287a 12-Jul-2017 Xiangyu/Malcolm Chen <refuhoo@google.com> Merge "Fix MobileNetworkSettings crash for multi-SIM device" am: 33cf927f86 am: 0f33d879c3 am: cc12135b5c
am: 17c8516055

Change-Id: Iaeda6a3a80449992317fc2ba9bbb56dca97c5b41
17c85160556edb37cb389e00319b05725bf6c32b 12-Jul-2017 Xiangyu/Malcolm Chen <refuhoo@google.com> Merge "Fix MobileNetworkSettings crash for multi-SIM device" am: 33cf927f86 am: 0f33d879c3
am: cc12135b5c

Change-Id: I257a317c862f6f16341e91c00990e92ae07fe78c
0f33d879c3aba8a5de63a922b9aafa341fd34a24 12-Jul-2017 Xiangyu/Malcolm Chen <refuhoo@google.com> Merge "Fix MobileNetworkSettings crash for multi-SIM device"
am: 33cf927f86

Change-Id: I2c59cde57994ea71cc602485df49da48a612fd73
2f7afb36889e463f0192fab8244880165cbfdbd4 29-Jun-2017 qingxi <qingxi@google.com> Change the index of enhanced_4g_lte

The carrier app can hide this preference screen by set the carrier
config file and we don't want the settings index this preference screen
when it's hidden. This CL adds this key into non-indexable key list when
the preference screen is hidden.

Bug: 62976860
Test: TeleServiceTests
Change-Id: I72728ada7c2080ee13798bb3563b256e3f768b3f
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
a89d4095cc069667eb3d5e32df4bccafc7e073bb 09-May-2017 Wei Huang <wei.x.huang@sony.com> Fix MobileNetworkSettings crash for multi-SIM device

Crash happens when view of MobileNetworkSettings activity is updated
from view for id R.layout.network_setting to view for
id R.layout.common_tab_settings if two SIMs are inserted into multi-SIM
device. Because view for id R.id.network_setting_content is not found.
View for id R.id.network_setting_content must be present for
MobileNetworkFragment.

To avoid this illegal state, inflate view for
id R.layout.common_tab_settings to MobileNetworkFragment.

Test: manual - Checked that the Mobile network settings can be
displayed when two SIMs are inserted
Bug: 63127781

Change-Id: I2e88d7cbe9f889305d4ac796c2bf9f395374da7d
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
272b117667cb49b5e2c50e648f8f4b9776780d6e 23-Jun-2017 qingxi <qingxi@google.com> Change index of carrier_settings_euicc_key

Since we need to user EuiccManager#ACTION_MANAGE_EMBEDDED_SUBSCRIPTIONS
to start the activity of this key, this CL moves the index of this key
from queryXmlResources to queryRawData.

Bug: 36525840
Test: TeleServiceTests
Merged-In: I2912a1d221eaaff1e8e56f290c0ce3ce9d5e6653
Change-Id: I2912a1d221eaaff1e8e56f290c0ce3ce9d5e6653
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
e53b02e8d56602832f9b00dfc8dfd880210afde1 23-Jun-2017 qingxi <qingxi@google.com> Change index of carrier_settings_euicc_key

Since we need to user EuiccManager#ACTION_MANAGE_EMBEDDED_SUBSCRIPTIONS
to start the activity of this key, this CL moves the index of this key
from queryXmlResources to queryRawData.

Test: TeleServiceTests
Bug: 36525840
Change-Id: I2912a1d221eaaff1e8e56f290c0ce3ce9d5e6653
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
7b486ea4da4fb8ed94b3a566d72c715a28945899 28-Jun-2017 Malcolm Chen <refuhoo@google.com> In MobileNetworkSettings, add divider and "Advanced" button.

Setting style of PreferenceCategory to be the one with divider
above it. Manually add divider above APN preference. Added
expandable "Advanced" button to hide most preferences by default.

Bug: 63133738
Test: Manual

Change-Id: Ied9c025ab7288505262ba0c0222246ee74b30ef2
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
9ef63c64d3ad97f596659796ff5b622adf4a73f7 21-Jun-2017 Malcolm Chen <refuhoo@google.com> Add "Mobile data" and "Data usage" into Mobile network setting UI.

Bug: 62201918
Test: Manual
Change-Id: I8108c4910d57fa33df371b086b99a7ea2fa83bc3
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
1018c6f72826691dd40446c212562ddba5b25e7a 28-Jun-2017 Xiangyu/Malcolm Chen <refuhoo@google.com> Merge "Merge "Network Operator" into "Mobile network" main activity."
34d4fa5e9fa19feb70da552dfa765b1a90a5c0dd 06-Jun-2017 Malcolm Chen <refuhoo@google.com> Merge "Network Operator" into "Mobile network" main activity.

Re-write "Network Operator" setting section. Now auto and manual
network select buttons are SwitchPreference and ListPreference
respectively. They are moret tightly coupled and merged into
"Mobile network" main fragment.
Network select button is now a customized ListPreference, which
start network query when clicked, and show query result as list
of networks to choose from.

Test: manual
Bug: 62200802
Change-Id: I8dd796462e14eb6272371bfcc580ad94d199bb67
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
b1eeb07ce5146430af43338e2bee3fa4a4797d71 13-Jun-2017 Malcolm Chen <refuhoo@google.com> Add null check of getActivity() in initializeSubscriptions.

In initializeSubscriptions(), the fragment may be detached from
the activity. Without the null check it may end up with crash.

Bug: 62522732
Test: build
Merged-In: I9d208f6f2bc8394e76ae50495397f0318bd7ceb8
Change-Id: I9d208f6f2bc8394e76ae50495397f0318bd7ceb8
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
bfa940914d7f1a47f36b2d111ea25e2a85737be6 13-Jun-2017 Malcolm Chen <refuhoo@google.com> Add null check of getActivity() in initializeSubscriptions.

In initializeSubscriptions(), the fragment may be detached from
the activity. Without the null check it may end up with crash.

Bug: 62522732
Test: build
Change-Id: I9d208f6f2bc8394e76ae50495397f0318bd7ceb8
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
48a7fcb750e6671e154661fb7af74e66feb0c4c6 12-Jun-2017 Malcolm Chen <refuhoo@google.com> Add Calling category into Mobile network settings.

This category includes WiFi calling setting and Carrier Video
calling setting.

Bug: 62201189
Test: manual
Change-Id: I26362619d0f6bafea49c47428d57626c9a01380a
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
c9622639a67cc7c8cb1824ff2aaaebc4a335c15e 20-May-2017 Jeff Davidson <jpd@google.com> Disable eUICC settings when they aren't useful.

If a user never downloaded a profile onto their eUICC, there's no
reason to show settings to the user (as the settings UI will not
support profile downloads at launch; only API-based downloads will
function). But show the settings nonetheless if development settings
are enabled.

Bug: 38460669
Test: TreeHugger / Manual verification
Change-Id: I62cef15bd715a36a3fa1d38ea4e63c8134e5c09b
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
bf2189f2c72d8b44a15c250c68aacf787827ef67 17-Apr-2017 pkanwar <pkanwar@google.com> Dividers to be removed from Mobile network (Network settings) screen.

Bug: 37310451
Test: manual
Change-Id: Id34fa40c9fc1137d578235e0d8a11c744d608ae8
(cherry picked from commit ef871a8bd4de53c835a51ef785fec333702f4c62)
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
b82c7c26609d7881ef18b2113444177100f8042b 18-Apr-2017 Pankaj Kanwar <pkanwar@google.com> Merge "Dividers to be removed from Mobile network (Network settings) screen."
ef871a8bd4de53c835a51ef785fec333702f4c62 17-Apr-2017 pkanwar <pkanwar@google.com> Dividers to be removed from Mobile network (Network settings) screen.

Bug: 37310451
Test: manual
Change-Id: Id34fa40c9fc1137d578235e0d8a11c744d608ae8
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
c767901b81a45e4bb0547e5086f8bb1e99e579d1 16-Apr-2017 pkanwar <pkanwar@google.com> Back arrow not working Settings->Network&Int->MobileNetwork

Bug: 36568580
Test: manual
Change-Id: I79957ec65e4d50105eae2d497551d400f2a1c9f2
(cherry picked from commit 097cdfeb7925e700ca4bb2c8b12854dd92ce89e1)
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
097cdfeb7925e700ca4bb2c8b12854dd92ce89e1 16-Apr-2017 pkanwar <pkanwar@google.com> Back arrow not working Settings->Network&Int->MobileNetwork

Bug: 36568580
Test: manual
Change-Id: I79957ec65e4d50105eae2d497551d400f2a1c9f2
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
1b977e04ffe3d065ba9868bc064ea7e2d4668c75 14-Apr-2017 Qingxi Li <qingxi@google.com> Merge "Fix NullPointerException when phone number cannot got"
760f568cea0a31f46b6436ea016fe2a41618cd76 12-Apr-2017 qingxi <qingxi@google.com> Fix NullPointerException when phone number cannot got

Fix the NullPointerException caused by null phone number got from
TelephonyManager when eSIM is enabled. This exception will cause the
whole settings crash.

Test: manual test
Bug: 37246921
Change-Id: I4d0f8f085f70ed3248d1db3bd7a7ff6e199230b9
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
dd21031e41b68706b01efc79fefcf8e6a1bf944a 13-Apr-2017 Shuo Qian <shuoq@google.com> ECBM SystemProperty cleanup

- Add getEmergencyCallbackMode() method to get the boolean
value for ECBM callback mode from the phone, in the
PhoneInterfaceManager.java

- Replace the 'get' of PROPERTY_INECM_MODE system property
in the packages/services/Telephony

Change-Id: Ide35e28b3339f58523bfe92be3c2fdfce111d45e
Test: Manual
Bug: 30361624
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
c1023cdf91ee25d063dc38b6fbb8f20dea546fe6 13-Apr-2017 Shuo Qian <shuoq@google.com> Merge "ECBM SystemProperty cleanup" am: fda88587c6 am: bc2dfb8946 am: dd0c10776d
am: fd0e9ace04

Change-Id: I649fdad017618958e65f585494e9b7436fe2b057
fd0e9ace040d760019fbdc2a40f7bbb8d580896f 12-Apr-2017 Shuo Qian <shuoq@google.com> Merge "ECBM SystemProperty cleanup" am: fda88587c6 am: bc2dfb8946
am: dd0c10776d

Change-Id: I60644ce6e9dca1c6b4e4d92d18d4ec7fe00f778d
fef36a3fe353a7af6dad67be5eae8e84087ec36a 10-Jan-2017 shuoq <shuoq@google.com> ECBM SystemProperty cleanup

- Add getEmergencyCallbackMode() method to get the boolean
value for ECBM callback mode from the phone, in the
PhoneInterfaceManager.java

- Replace the 'get' of PROPERTY_INECM_MODE system property
in the packages/services/Telephony

Test: Manual
Bug: 30361624
Change-Id: I23c3fa0c985efb28bf37f2d7ee1c85b732cc7b0d
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
11cb4564f79e1bd4b68fe12e3b4e8397e8c7c770 14-Mar-2017 yinxu <yinxu@google.com> Hide the option of "Enhanced 4G LTE Mode" when the key "KEY_HIDE_ENHANCED_4G_LTE_BOOL" is true.

Bug: 36220377
Test: manual
Change-Id: I34e709a23652f98290760375d0e26c836966a944
(cherry picked from commit 0feafa78a8cbacac5a735dbf0a4153058ca60007)
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
b5674a6eea8c5690d814bcc181db352d697d479f 22-Feb-2017 Jeff Davidson <jpd@google.com> Squashed merge of master-sim into master.

Includes the following commits:

==

Let phone process bind to EuiccService implementation.

==

Implement EuiccManager actions through a dispatcher.

The dispatcher is a trampoline activity which forwards the given
action to the highest-priority LUI implementation after performing the
necessary prerequisite checks. It has priority=1000, which means no
APK other than those bundled with the system can supercede it.

==

Add eUICC UI into Mobile Network Setting Screen

Add a preference in Mobile Network Setting Screen to start the
eUICC settings. This preference will only be available when
EuiccManger#isEnabled is true.

==

Test: TreeHugger
Change-Id: I6463c31b577d66512151cc864b21c1ea028593f9
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
fe0018ad2956beff9872921a4bc99a5b5977666e 28-Mar-2017 Ying Xu <yinxu@google.com> Merge "Hide the option of "Enhanced 4G LTE Mode" when the key "KEY_HIDE_ENHANCED_4G_LTE_BOOL" is true." am: 4b063e4311 am: 87bad7859c
am: b0fa261890

Change-Id: Ica2141a438e19b9e2ebb86051b930245ae7dbbad
0feafa78a8cbacac5a735dbf0a4153058ca60007 14-Mar-2017 yinxu <yinxu@google.com> Hide the option of "Enhanced 4G LTE Mode" when the key "KEY_HIDE_ENHANCED_4G_LTE_BOOL" is true.

Bug: 36220377
Test: manual
Change-Id: I34e709a23652f98290760375d0e26c836966a944
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
8d16e1f18bc2fd46897faf8d82be18971612a138 18-Mar-2017 pkanwar <pkanwar@google.com> Phone app crash after inserting SIM.

Bug: 36374338
Test: Manual
Change-Id: I7468339fdf2eaa53e9b380cab06ea909a98f89d3
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
c8a0284e375ab8c6a5850ec833e2f6d84f05242d 09-Feb-2017 pkanwar <pkanwar@google.com> Refactor MobileNetworkSettings to use fragment framework.

Bug: 35157859
Test: UI change only.
Change-Id: Ib0d471803904d73f1621fc0c049554f00b732c16
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
814d2e650ffc1d14f2a653761b6e8e82dc616e21 28-Oct-2016 Salvador Martinez <dehboxturtle@google.com> RoamingDialog stays open on rotation

Moved the dialog into a fragment instead of using
the AlertBuilder directly in the activity. Fixed jank that
would occur when the device was rotated and the toggle changed
state before actually changing the preference. Wrote integration
test to make sure dialog stays visible on device rotation. The
test is located in the tests folder for the project and can be
run in the same way that is already described in the manifest
file.

Test: Espresso Test
Bug: 32441370
Change-Id: I2880bb719f41f1765bf548e7a3ae363f7108a50d
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
d702e5481fb27529eabd186eea0f557424c461e4 09-Feb-2017 pkanwar <pkanwar@google.com> Refactor MobileNetworkSettings to use fragment framework.

Bug: 35157859
Test: UI change only.
Change-Id: Ib0d471803904d73f1621fc0c049554f00b732c16
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
46424970f9bf1424087ea6e6ca859c3d18d7517e 28-Oct-2016 Salvador Martinez <dehboxturtle@google.com> RoamingDialog stays open on rotation

Moved the dialog into a fragment instead of using
the AlertBuilder directly in the activity. Fixed jank that
would occur when the device was rotated and the toggle changed
state before actually changing the preference. Wrote integration
test to make sure dialog stays visible on device rotation. The
test is located in the tests folder for the project and can be
run in the same way that is already described in the manifest
file.

Test: Espresso Test
Bug: 32441370
Change-Id: I2880bb719f41f1765bf548e7a3ae363f7108a50d
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
06f2cacb8cc9f85cbfa8520484b68d55145fb15d 03-Aug-2016 Meng Wang <mewan@google.com> Change title of "Enhanced 4G LTE Mode" per carrier config

Bug: 30629746
Change-Id: Id3df02c2c06e02fe48b7877aafa1c55c28cebafa
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
0d6cfffc859a2fa8179d5ec786959a5f8d33a93f 24-Jun-2016 Andrew Sapperstein <asapperstein@google.com> Phone theme updates.

Use theme colors from the platform instead of hardcoding colors.
Fixes emergency dialer to use the Settings primary color.

Also performs a bunch of refactoring of the activities meant
to look like Settings. Deletes some redundant themes and styles.

Change-Id: I947189cb70bb61d91739a2b1a0a264c940558379
FIXES: 29580507
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
6a223fc70b3e949f3b4c3d53c9c3a291c29c0112 19-Apr-2016 Narayan Kamath <narayan@google.com> Tidy up uses of Integer.valueOf.

Use parseInt when the result is assigned to an int. Allocates fewer
objects.

bug: 28078871
Change-Id: Ibfe289b772678fddb22f043b555c7bb28b70e4fa
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
25a6cfe9b561c472bf39a0512368f6242e1b48f0 21-Mar-2016 Sudheer Shanka <sudheersai@google.com> Remove manage_device_admins and manage_profile_and_device_owner
permissions.

Bug: 27814372
Change-Id: If456ee8e785de44e361f87eef6e2925fb5fe9eba
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
6fe7f2525cdb33c8024229c9d6782a357814eeaf 04-Mar-2016 Sanket Padawe <sanketpadawe@google.com> Fix phone crash in MobileNetworkSettings.

+ Avoid crash due to race condition caused by
1)onCreate
2)Handler posts message
3)Orientation change of screen, destroys activity
4)Handler handles message and access getPreferenceScreen which is null.

Bug: 27425313
Change-Id: I39a34d860a58e16001a7163e30a2a308cd65bb10
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
06410be0995803cc66e31ecd32a6a362c71d1d9e 19-Feb-2016 Mahaver Chopra <mahaver@google.com> Don't add padlock if restriction is't set by admin

Bug: 26687435
Change-Id: I705ab5b1a49fa97f836c1814f9020ff1d0b92a47
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
8ce1219a37f3fe312ba71dd02a26b97d0304535d 23-Dec-2015 Mahaver Chopra <mahaver@google.com> Add DISALLOW_DATA_ROAMING restriction support to settings

Added RestrictedSwitchPreference to generalize device admin restriction
support for Telephony. Implemented handling of DISALLOW_DATA_ROAMING
restriction using this.

Bug: 24890464
Change-Id: Ice1fb169527c7612be732719523252f773283961

https://screenshot.googleplex.com/u76rW3HK4Jr
https://screenshot.googleplex.com/xqKUwVofyFB
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
e7e50d95342e16f54ebc4fb5e7cc852770ba8454 05-Dec-2015 Sungmin Choi <sungmin.choi@lge.com> Remove TDSCDMA-only menu am: 6f9f5c0dab
am: 7ac859ca37

* commit '7ac859ca37f0ee203ec5b77941fe83587dc303bf':
Remove TDSCDMA-only menu
6f9f5c0dab02ee56dadbdf5e25502bd8af78f7dc 05-Nov-2015 Sungmin Choi <sungmin.choi@lge.com> Remove TDSCDMA-only menu

Bug: 25516374
Change-Id: I2a39ad20df43ade23e538bbedc31f445c2e17aff
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
9dc2bea5e35cf8f59d05240c061cd00d74be6f7b 14-Oct-2015 Xiaohui Chen <xiaohuic@google.com> clean up USER_OWNER in telephony service

Change-Id: I188c7fe3e38691979b5431a4efc68b5206d1c02e
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
da19cf883036a0d2396289cdaea29b2875379d19 16-Oct-2015 Sungmin Choi <sungmin.choi@lge.com> Set network type to ro.telephony.default_network if hiding preferred network type

Since pref is being hidden from user, set network mode to default
in case it is currently something else. That is possible if user
changed the setting while roaming and is now back to home network.

Bug: 25012603
Change-Id: I2bdf92a3c62a2d2e995f74285a77b33be70cd82f
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
6fc016e61f9f9990e2d3946ee72cd15f0b31fe96 25-Sep-2015 Sungmin Choi <sungmin.choi@lge.com> Enable TDSCDMA mode when connecting CMCC roaming network

If user connects CMCC roaming network with CMHK SIM,
user should be able to select TDSCDMA mode.

Bug: 24382870
Change-Id: I5d3628b4c6afea277720b31d00c6ed9d02f676bc
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
5b917cb52137edc887c5dda399a317d92b31a512 21-Sep-2015 Sungmin Choi <sungmin.choi@lge.com> Change to ensure network type is selected correctly.

Needed for hot swap between TDSCDMA and non-TDSCDMA SIMs.

Bug: 24239947
Change-Id: Iaf39cdf52f09280cfbda349f1ed762d887d16ef4
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
f5f55c8fddfa4106a14f16ee7c81d99bd7a8e473 17-Sep-2015 Sanket Padawe <sanketpadawe@google.com> Hide Network operators menu when user selects the Global Mode for VZW

Bug: 24116804
Change-Id: Ib64e3a7917e5199b8f0a095b39127666c17e6385
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
d23251601f6359f87f9b0b329db32bcca481526b 15-Sep-2015 Sungmin Choi <sungmin.choi@lge.com> Add to hide preferred network type only for Home network

Bug: 23862319
Change-Id: I41b3d0bd06316102af857e21a428269bc2f8059b
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
c7a37005645f0f3f29ff0110cc9594e1952625eb 10-Sep-2015 Amit Mahajan <amitmahajan@google.com> Merge "Add to hide preferred network type" into mnc-dr-dev
ccdb17eca754afa7cdd7a44e7cb2076866148ef2 09-Sep-2015 Sungmin Choi <sungmin.choi@lge.com> Add to hide preferred network type

Bug: 23862319
Change-Id: I92c3a5d7fdf7025e2078dccbeb5c13d9263596e3
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
52a797fcae96fbfb4eb21ba6c02aced644e98b81 27-Jul-2015 Sungmin Choi <sungmin.choi@lge.com> Add TDSCDMA family

Bug: 22639018
Change-Id: I8dd93a26309cc13c2744efcd3bdc3ea9dd06e088
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
2ee020ccf600e45ee72d3c516fb857263895d40c 26-Aug-2015 Sungmin Choi <sungmin.choi@lge.com> Support uneditable enhanced 4g lte mode

Bug: 23539759
Change-Id: I069d994eaef2f57c3d01ff2f36abcd274da431a5
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
94846fea8b88b76955982112cb4d0e3ce6672e51 11-Aug-2015 Amit Mahajan <amitmahajan@google.com> Preferred network type should be shown as global for cdma devices.

When the type is selected as global, it should be shown as global
and not LTE. The check to update summary was not correct and missed
a couple of conditions.

Bug: 22852436
Change-Id: I645b79be64d04cf713fa664586ca331fdb825bff
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
ab07b92dac9063bf05e98384e2834f0b06fb8382 14-Jul-2015 Sanket Padawe <sanketpadawe@google.com> Use a common multi tab settings file

Bug: 22360525
Change-Id: Ib7f911eb18a7acd0007ecb7da2329b45c7264f4f
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
23ec4d6757e5e5b115278a44a7943b878e5ff683 30-Jun-2015 Amit Mahajan <amitmahajan@google.com> Added unregisterReceiver() to avoid leaked IntentReceiver.

Bug: 22202062
Change-Id: Ie55847844eed414df5ecb1fc63d62cb75f17cb1c
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
a9ba9d4f7062762343c65fede42d0e60cfacf404 01-Jun-2015 Junda Liu <junda@google.com> Use carrier config BOOL_HIDE_CARRIER_NETWORK_SETTINGS.

Use carrier config instead of settings to hide/show carrier settings.

Bug: b/21355336
Change-Id: I7aa990240c49a4aeb0316f5801b0e6de4781794a
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
9504c6b5c5c7072f72d8a9e6df59dbda8a6ccbe4 04-Jun-2015 Jonathan Basseri <misterikkit@google.com> Renaming carrier config variable keys.

API council advised us to use KEY_NAME_TYPE for our key constants.

Bug: 21571894
Change-Id: Ib5d5aff1c9070d9e5913a4099fcf55c67b800150
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
5014b5b7beb9f87cd2d57263246914b4223fa2bc 13-May-2015 Junda Liu <junda@google.com> Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense.

Bug: b/21028396
Change-Id: Ia5232536dccb8fcd52cdfa57dc947f7874c5ac1a
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
c31f1f32963534763aaf82ae2544f3a94f13edca 12-May-2015 Jonathan Basseri <misterikkit@google.com> Switching to PersistableBundle in carrier config API.

Part of this API involves persisting config bundles to avoid binding to
apps at critical moments (like boot). Regular bundles should not be
written to disk because they support object types that can lose their
meaning while the data is at rest.

In order to use PersistableBundle, we must either start with one or
filter unwanted types out of Bundle objects. Since the carrier config
API has no use for unsupported types, we chose to use PersistableBundle
everywhere.

Bug: 20268926
Change-Id: Ia85c1b2426907a5e6431095dbd3776213c7eb45d
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
7060fbfbc3528f7f78cb8811820bb9d02cf771ba 01-May-2015 Jonathan Basseri <misterikkit@google.com> Updating MobileNetworkSettings to use the new carrier config API.

This moves use of the following variables to the new
CarrierConfigManager API.
config_prefer_2g
config_show_cdma
world_phone

Bug: 20270007

Change-Id: Ia996bf050e306861a6f46e5fe2fba11cfe22fc16
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
410f74211df682826d5366ac49748dd710da5a1e 03-Apr-2015 Abhishek Adappa <aadappa@codeaurora.org> Network type will reflect user's setting

Phone.setPreferredNetworkType will filter the netowrk mode based on
the modem's capability, before sending it to the modem.
As a result Phone.getPreferredNetworkType would not reflect what we
set and the API has been deprecated.

The network mode UI will show the user's preference rather than
what the modem is using.

Change-Id: I0900222806b5248f923bccf06c04cd70faba5370
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
c45557dbc4b7dc1012fd893b7fe75d37402bff83 08-Apr-2015 Stuart Scott <stuartscott@google.com> Correct the way settings deals with subscriptions.

Change-Id: I22a023c8f1fb943a7097484f48668faefaa55003
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
84cccac1292b52cacb00e2af8386cb6951aba99b 16-Mar-2015 Vinit Deshpande <vinitd@google.com> Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release'

Change-Id: If474effff986156771d4da080d373b9bcf352c3d
579ef55c610f88b1b8b78a1b69db599f9e0dfbf4 24-Feb-2015 Pavel Zhamaitsiak <pavelz@google.com> Move Wi-Fi Calling settings to separate screen

Change-Id: Ibbef6bb96d264019176decf52051d519bfd9a84b
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
92ecec7fb3c0a9a4881c91b830ca917f2c2d73be 24-Dec-2014 Etan Cohen <etancohen@google.com> WFC configuration: add GUI for Wi-Fi calling settings.

Change-Id: I6d388cb3fbc76bb16218b28f34cbffe67ac5ef36
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
025d013b32914c8e0fd7b4ff8186aaab297a7ca2 02-Feb-2015 Sanket Padawe <sanketpadawe@google.com> Merge "String changes in UI for enabling roaming data."
708cf312cbbd1ba7523574141e8ca419dc0778e4 23-Jan-2015 Sanket Padawe <sanketpadawe@google.com> Fixing UI issue to display preferred network type.

+ Preferred network type will show what the modem returned as preferred
network in Settings.

Bug: 18676277
Change-Id: Ifb9016bc272381f08cd5386b2957702b4903f431
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
c0215edcd2e9964ac8faf13d6b3d89228fb4ad05 15-Jan-2015 Sanket Padawe <sanketpadawe@google.com> Fixed issue related apn not getting displayed with sim in slot 2.

Bug: 18999392
Change-Id: Ibd736a653d3e50af888461a90d2f34689d0a45b3
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
f67832f67f330e645ea6109feb108bf7dd854155 13-Jan-2015 Wink Saville <wink@google.com> Rename reg/unreg OnSubscriptionsChangedListener.

To addOnSubscriptionsChangedListener and
removeOnSubscriptionsChangedListener.

Bug: 18984103
Change-Id: I6636905093812af89c1c3702840e44c8c5ea891f
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
31a0c71081d871b3162413c050188921498fff50 09-Jan-2015 Etan Cohen <etancohen@google.com> Use provisioning status to decide whether to display Enhanced 4G option.

Bug: 18576107
Change-Id: I6128271ad53cfd5acb5b1746e3c2a491045ec8de
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
9443cdcbda67d657773398a262022a04f3e27841 06-Jan-2015 Wink Saville <wink@google.com> Fix displaying of Data Roaming information.

The variable currentTab was set to 0 instead of the current tab if
nothing had changed.

bug: 18837275
Change-Id: Ic932a077129f644a18b6d5e45875b51438956318
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
539be08e169bb261fee3d1ba1f0d1a9af1659e55 30-Dec-2014 Sanket Padawe <sanketpadawe@google.com> String changes in UI for enabling roaming data.

Bug: 18361751
Change-Id: I875368b0cc0c1835097f72bd3b9ac81a73daa982
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
e31492a6d1a9c6eada391f49d89bec7046961ffe 23-Dec-2014 Wink Saville <wink@google.com> In MobileNetworkSettings handle no sims in first or only slot.

MobileNetworkSettings is the code for Settings -> More -> Cellular networks
this change allows it to handle no sims in first or only slot and also
hot swapping.

Also add some additional debug logging.

Bug: 18814002
Change-Id: I58e0cde4206bb737e25a018e101eaff00602c803
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
a51d4ef5f89b915ce58d55b327bcd1c52ab4b435 15-Dec-2014 Etan Cohen <etancohen@google.com> Disable some settings if TTY over VoLTE not supported

- Disable TTY mode modification mid-call if VoLTE supported
- Disable Enhanced 4G modification if TTY is ON and TTY is
not supported over VoLTE
- Show Enhanced 4G as OFF if TTY is ON and TTY is not supported
over VoLTE
- Refactoring

Bug: 18593974
Change-Id: I15fba8df9daae1ee8bd013a4ff1b105fcf91b722
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
ddb5d20f8bf79a464f4ec28e16941ab977c35331 18-Dec-2014 Wink Saville <wink@google.com> Initialize mPhone to the phone in slot 0.

The tabs are displayed by slot and the initial phone is that associated
with slot 0, so be sure we've got that one.

Bug: 18784668
Change-Id: Ibcca72d546813c294ec9ba18ab09b1cd5ce84152
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
48f6fea3612c04f6e2980705409756595f57805b 12-Dec-2014 PauloftheWest <paulofthewest@google.com> Fixed a bug where APN did not always show.

Bug: 18377054
Change-Id: If0392f8b3afb315f94430850c641b4926bce871c
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
c0fae3a9a63baaeea9e61d84553d95b857fef450 10-Dec-2014 PauloftheWest <paulofthewest@google.com> Fixed an APN grey out issue

Bug: 18377054
Change-Id: I79ce637725e93569903ff3557d0688c4fee47233
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
b4c29ee65031396bf2717bf140edd5cbfc22c474 10-Dec-2014 PauloftheWest <paulofthewest@google.com> Merge "Added Multi-SIM capability to Access Point Names" into lmp-mr1-dev
375e27d8a9dff087ed6e2e6be3738e708cd423f6 08-Dec-2014 PauloftheWest <paulofthewest@google.com> Added Multi-SIM capability to Access Point Names

+ ApnSettings is now passed the Subscription id associationed with the
SIM selected.

Bug: 18246837
Change-Id: I199e33abb7bb75ba6832c11721ce688615652de9
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
aeb465a16bb008484ed567a9f0d8749e2b00c5e1 05-Dec-2014 PauloftheWest <paulofthewest@google.com> Fixed a UI issue with Cellular networks

+ Now after a preference changes, we update the entire body to ensure
everything has been updated correctly.

Bug: 18377054
Change-Id: Ia15ae5980b29b6ee933929c501e53d2a077676a6
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
5236f3ae1e7b4d2b07079fbf12b1666a82e1099c 02-Dec-2014 PauloftheWest <paulofthewest@google.com> Enabled APNs option for Verizon SIMs

Bug: 18377054
Change-Id: I0647d115025926814ab8973f88b672d808c2dc61
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
0717b3073076fb7f59eda9839408c429c0f567c9 27-Sep-2014 Etan Cohen <etancohen@google.com> MSIM IMS: convert to phone ID based selection.

Bug: 18576822
Change-Id: I74d5d06002579cdd9fee425585cdf59de3dca257
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
3ab207e3711ebd717f9cfe7412018c51ae1c8131 20-Nov-2014 Wink Saville <wink@google.com> Additional changes to SubscriptionManager API as per API council.

bug: 17575308
Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
e9fe49dbda2ecdc880cb0929e86c15b0335127dc 20-Nov-2014 Wink Saville <wink@google.com> Revert "Additional changes to SubscriptionManager API as per API council."

This reverts commit 88fd66a22ab781927556a34cdb7b14179efea917.

Change-Id: Ia6353137c665ca048bb1b02dee7bd581dec9973f
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
88fd66a22ab781927556a34cdb7b14179efea917 19-Nov-2014 Wink Saville <wink@google.com> Additional changes to SubscriptionManager API as per API council.

bug: 17575308
Change-Id: I7773965094510999bfce8fc6b2b31ba6ce496653
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
8ea782a7a0edd1ec96b9c98290554bb775aecfaa 18-Nov-2014 Amit Mahajan <amitmahajan@google.com> Change to not allow user to enable/disable LTE if LTE service forced is true.

Bug: 18328639
Change-Id: Icbf9d7987d27af34cbe4ee1b4e9df19e139c2fc7
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
24c7ea60ce73408f7e491be9c78950fe7db8f960 14-Nov-2014 Etan Cohen <etancohen@google.com> Disable 'Enhanced 4G LTE Mode' setting entry when in a call.

Bug: 17408247
Change-Id: I31eca14df7f431c7946b592a8b65e00eda602db3
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
e3c2f8ff055bda4932d10b96c82a494ae67e6424 14-Nov-2014 PauloftheWest <paulofthewest@google.com> Restored 4G LTE setting for Shamu.

Bug: 18378280
Change-Id: I3edf5277feddff9a011e2e1d47184c4da59a6f6e
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
3c6ce5e6e05cedb43c62508152dc39e60b03ccac 03-Nov-2014 PauloftheWest <paulofthewest@google.com> Created tabs for Multi-SIM Cellular Networks.

Bug: 18291246

Change-Id: If8e79056e7f7ffe897472f4b037e711e196c5332
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
6f83fd76b028de5c6af78f9df7858a717d7c234c 12-Nov-2014 Junda Liu <junda@google.com> Merge "Hide carrier network settings if HIDE_CARRIER_NETWORK_SETTINGS is 1." into lmp-mr1-dev
dfa0410fffd9097053ef0c14f99444ebca912407 05-Nov-2014 Rohit Sisodia (a21406) <rohits@motorola.com> Gsm Cdma options handling for Verizon

When the preferred network mode is changed to Global only Cdma Network
Options should be shown.
Similarly GSM Netwrok options for LTE/GSM/UMTS preferred mode.

Bug: 18219717
Change-Id: I0e391b89fbce4fe28eb12d9320fd43967d61f6f9
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
f85c95a5333aed6b96fdeb6fae0299d9eb95f24f 07-Nov-2014 Amit Mahajan <amitmahajan@google.com> Use the correct check to choose between CDMA and GSM network options.

Bug: 17406959
Change-Id: Ibf7c20e545ca449b2e2c99778b4e41159d6f54f0
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
d5b6b10705b6585ff3273556a73a3422208b3c22 07-Nov-2014 Junda Liu <junda@google.com> Hide carrier network settings if HIDE_CARRIER_NETWORK_SETTINGS is 1.

Bug: b/17673255
Change-Id: I8b21172c0d71cc7bc4ea54db5daae4277730a3af
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
af65e4fb687d9412d65f1250cfee7c202e9ef319 06-Nov-2014 Amit Mahajan <amitmahajan@google.com> Change to treat preferred network type LTE as GLOBAL for non CDMA networks.

Bug: 17406959
Change-Id: Ica94bed24a658247ac8670c0c9e1987a3b96a680
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
3a4447b532a883e4303b0719005e76c0d70b38f8 10-Oct-2014 Rohit Sisodia (a21406) <rohits@motorola.com> Verizon Network Modes

Network mode changes to comply Verizon local and roaming requirements.

+ Minor formatting changes.

Bug : 17202675

Change-Id: Iff18a52ded28310fb837127d2b5ee9ef068400f4
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
4afb0a6e3c39077ec683716b41c0150a9e5cd9a8 24-Oct-2014 Etan Cohen <etancohen@google.com> Separate VoLTE and VT configurations.

Change-Id: I06d68fe0635922b7daff6a92075e4b3c6b88daa4
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
7c8f52b11e274247d38140bd84869a81b956eea1 23-Oct-2014 Etan Cohen <etancohen@google.com> Rename VOLTE_VT constant to more accurately reflect function.

Change-Id: I204c42ade1b4c19818480d03eb422343a7f13016
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
ac00bb2b97bef42ca395ef259e9dc047b6a8f79b 10-Oct-2014 Libin.Tang@motorola.com <w16529@motorola.com> IMS:change enhanced 4g setting to store in setting db.

Change-Id: Ie80c50edf28b4b37f696def9a74615037440ecc6
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
d71bba86c832ef3b696c6430eea85c4833d4910a 10-Sep-2014 Junda Liu <junda@google.com> Merge "Update telemgr calls with subId to new APIs with ForSubscriber suffix." into lmp-dev
adc650731e52b96afe7ea695f8ca8d40db9c2752 09-Sep-2014 PauloftheWest <paulofthewest@google.com> Fixed an issue were switching data roaming would disable other settings.

Bug: 17152922
Change-Id: I0f9f5fb3085b3c52781fabe58b1ab5e4b544d9f8
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
f5f0daec7eee6b1e27dd98fdd88bc54fa72d4bce 05-Sep-2014 Etan Cohen <etancohen@google.com> Remove separate control for display of Enhanced 4G LTE Mode

Use the VoLTE/VT (IMS) enablement configuration for display of the
configuration. I.e. there is no need for displaying the configuration
when the device does not support IMS.

Bug: 17365969
Change-Id: I009482c2e28ce668653962d20d340d1eb96def87
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
df6b6b9d40d573f8a211732198f096b71916b125 06-Sep-2014 Junda Liu <junda@google.com> Update telemgr calls with subId to new APIs with ForSubscriber suffix.

Bug: b/17255752
Change-Id: I134543a5d12396efdefd695ffadeff8a75eccaa7
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
8245241cb2efa566ad222c22480de016bfd0f20e 02-Sep-2014 PauloftheWest <paulofthewest@google.com> Fixed a UI bug that would disable Cellular Networks screen.

Bug: 17152922
Change-Id: I0e565db6af1f64298bbedb64a4dc47e74f624979
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
caeb371148f43d1076229d493bf1114c32e0e1f0 21-Aug-2014 Etan Cohen <etancohen@google.com> Guarantee that Enhanced 4G LTE Mode setting is applied.

Possible race condition if IMS Manager not able to be instantiated.

Bug: 17186613
Change-Id: I376d3cb2c2950a0bd72ad804d51767415839ec6d
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
46b0a81c7aeaf3128a1dbaae61b5267eedeb655c 19-Aug-2014 Etan Cohen <etancohen@google.com> Enable VoLTE/VT with overlay overrides.

This reverts commit 5acf587392f4d5f2aec9d0dac1f1261566573396.

Bug: 17134661
Change-Id: I48c9ba6c9ecbb16c8acb54453f8cd145305d037c
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
5acf587392f4d5f2aec9d0dac1f1261566573396 16-Aug-2014 Etan Cohen <etancohen@google.com> Force IMS disable.

Required (work-around) until VZN provisioning code checked-in.

Change-Id: Ibd9e88a6d7a5f2586d00b79291fe811631781416
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
bd0cb322253fe3181a39c47269791a055fd508d3 14-Aug-2014 Etan Cohen <etancohen@google.com> IMS mode (Enhanced 4G LTE Mode): replace hard-coded default value with constant.

Change-Id: If06589b4ec5bba2e4bef8dad2db7136ac013f80f
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
f830f760271fe847fa20085e48380aaf17c6869d 12-Aug-2014 Hyejin Kim <hyejin.kim@lge.com> Display enhanced 4G LTE mode menu if needs

This menu doesn't need for all phones.
If needs, enable enhanced 4G LTE mode menu.

Bug:16966079
Change-Id: I3c104719a9f077fc9cbab4ee9e5f0230067670a3
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
f6a8b1dde69666fd5e6f9e788d00f49601a6c924 11-Aug-2014 Etan Cohen <etancohen@google.com> Move IMS configuration preference storage keys to common location.

Change-Id: I86871c75330eaa305a90c1cc953ee3d036ed3ef6
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
e76b88dbdeba049d9a7f24a79cd7d58d3250ea7a 09-Aug-2014 Etan Cohen <etancohen@google.com> Modify Advanced 4G Option to call new API in ImsManager.

Additionally: changed logic so that setting always succeeds whether or
not ImsManager call succeeded.

Change-Id: I2fdb6798f2beaf0fafbb838d5c59e691e21d3ed6
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
5f907c3de6c24256c9157fed6412c9af45eb3c4b 25-Jul-2014 PauloftheWest <paulofthewest@google.com> Added 4g LTE option to Cellular Network Settings

- Data enabled removed.
+ Enchanced 4G LTE added.
+ Themed to Setting's Material.

Bug: 16213269
Change-Id: I36b21b0e7a5b1cab5f06b2ecb363cf94a9bf1986
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
91007154982fd40f464f3d58ddb20d565b505e53 30-Jun-2014 Sandeep Gutta <sangutta@codeaurora.org> Fix Carrier settings crash issue

When world_phone enabled, "carrier settings" option
present in Mobile Network Settings menu and if we
select on it there is a crash in PhoneApp.

To fix it, modify "enabled_networks_key" handling properly
to do not display "carrier settings" menu option when
config config_carrier_settings_enable is set to false

Change-Id: Ie5fc1f60872cbed7ad82098df01720b77d88b453
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
89e89d47f249a1e910d6d726dbfcbedfc193cb83 09-Jul-2014 Derek Tan <derektan@google.com> Different Mobile Network Settings screen for Nova multi-profile SIMs.

Simplify the Mobile Network Settings screen regardless CDMA or GSM activeness
to provide a unified experience for Nova users.

For more details, please refer to b/15854628.

Bug: 15854628
Change-Id: Ieba04eff49824aa09a056cd4fb142cbd268207a3
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
468d78437cd3f16bbccc9acd8e7e4ed90b79f725 25-Jun-2014 Junda Liu <junda@google.com> When get preferred network type from radio, no longer save it to settings.

The setting item should reflect user intent, not result.

Bug: b/14134668
Change-Id: I28839c87a9dd8ccfae230ec34c1497db0b911ad2
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
a4ca38a6127b9ce87240bffbddf0f095fbec233f 12-May-2014 Julia Reynolds <juliacr@google.com> Settings user restriction changes: mobile network settings.

Bug: 14081992
Change-Id: I84974ab1c252905bf502a6a11f03e353fb2cdb44
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
9a32efc0c506eab679fd653924705c0010771fbd 22-May-2014 Robert Greenwalt <rgreenwalt@google.com> Move dis/enable of mobile data to Telephony

ConnectivityService doesn't do this anymore.

bug:15077247
Change-Id: I3208c91b2c0369b594987f39ca29da7478435513
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
e994d46a1f951b496441a42d1eabd2a0e026ceae 03-Feb-2014 Jake Hamby <jhamby@google.com> Add support for new RIL commands to update NV items and reset the radio.

Add support to PhoneInterfaceManager to implement the new methods in
ITelephony.aidl required for the OMA DM client.

Note that this change depends on a typo fix in the corresponding
frameworks/opt/telephony CL.

Bug: 12864208
Change-Id: Iaf9fdbb62d27c24f798ce89f69b208981330dac1
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
cdcbf5912b3a590de8771a20b25e753e960707bf 24-Oct-2013 Vineeta Srivastava <vsrivastava@google.com> Merge "Display carrier settings menu in GSM Phone if needs" into klp-dev
21a66d5a83960fc50f07b28a1b3ce86130fd19d9 23-Oct-2013 Sungmin Choi <sungmin.choi@lge.com> Display carrier settings menu in GSM Phone if needs

Some carriers use their setting menu in CDMA. Furthermore, use in GSM
when roaming.
So change to show carrier settings menu in both CDMA and GSM Phone.

Bug: 11354773
Change-Id: Ifb329971df16351768fe14e6801cc83631e60971
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
b0449b3f154aa0cb6a5c59233c2dd7bed699d6ae 15-Oct-2013 Sungmin Choi <sungmin.choi@lge.com> Update strings for preferred networks selection menu

Change to use string resources.
Need to translate preferred_network_mode_title,
preferred_network_mode_dialogtitle, network_lte,
network_4g, and network_global.

Bug: 11193632
Change-Id: I68786d503cf8b5c2452d21d61c15f5772670cc74
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
6bb4d4454cf105b0d3037aae5f224c33c2828c2e 16-Oct-2013 Sungmin Choi <sungmin.choi@lge.com> Fix network mode not to display selected radio button

If select 3G, modem can report various 3G modes, i.e.,
WCDMA pref, UMTS, UMTS only. Device should handle them.

Bug: 11244807
Change-Id: I88ff0b338ba74f1725779f0c5fe0e9ae98b95efc
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
2127037244d2d035fd3f5f250067c2225647f996 18-Sep-2013 Sungmin Choi <sungmin.choi@lge.com> Update preferred networks selection menu

Move "Use 2G Only" checkbox to "Network Mode" Menu
This menu consists of the followings in GSM Phone:
- 4G/LTE
- 3G
- 2G

4G/LTE means it's preferred, falling back to 3G, falling back to 2G.
3G means it's preferred, falling back to 2G.
2G means 2G only.

If config_prefer_2g is false, "2G Only" removes from Menu.
To use "LTE" menu, set config_enabled_lte true as mcc/mnc.
That means config_enabled_lte is false as default.
If set config_show4GForLTE true in SystemUI, display 4G instead of LTE.

In case of CDMA Phone with LTE,
- LTE
- 3G
- 1x
- Global
For (global) roaming of cdma, should set config_show_cdma true as mcc/mnc.

Bug: 10332749, 10783369
Change-Id: I74a9096f528bcd2a9a1162b53194ece653243bf7
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
4e9f0aa23c3304cb2bb964ef41fe0866ee15b57c 18-Sep-2013 Sungmin Choi <sungmin.choi@lge.com> Delete Network mode setting menu in CDMALte Phone

Bug: 10783369
Bug: 10332749
Change-Id: I16a8d714e91f1365e698e47999b7190023e4da33
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java
7d4ddf6dc0d7c8158bac3a5dec7936e837e95bdd 10-Jul-2013 Santos Cordon <santoscordon@google.com> Blanket copy of PhoneApp to services/Telephony.

First phase of splitting out InCallUI from PhoneApp.

Change-Id: I237341c4ff00e96c677caa4580b251ef3432931b
/packages/services/Telephony/src/com/android/phone/MobileNetworkSettings.java