ResourcesUtils used to get boolean resource id.
Test: atest -c HardwareInfoPreferenceControllerTest
Change-Id: I55aad63d8fbab5a70dafd49f2f79965dce5049b6
This is to provider users with control over whether to show transcoding
notifications or not.
By default we show the notifications.
The controller resides within the Media transcoding settings under
Developer Options.
BUG: 170973510
Test: manual. unit test added.
Change-Id: I7172f583ce4c1a53e5d5ccc07625f201852db43a
The 5GE has HTML tag, so it should do transformation by Html.fromHtml.
Bug: 180053606
Test: atest ProviderModelSliceHelperTest.java
Change-Id: I32ac255d50c52ce853f686ac22572fa1cb44e9cd
Adds (1) Enable2gPreferenceController, the controller for the
"Enable 2G" toggle, and (2) Enable2gPreferenceControllerTest,
the corresponding unit tests.
Test: manul & atest -c Enable2gPreferenceControllerTest
Bug: b/163168917
Change-Id: Ib827cfcfd96fdea77b586c92ae0ec5b2bd5818c3
Now users can prevent a given notification listener from seeing
notifications from particular apps.
Test: settings unit tests
Bug: 173052211
Change-Id: Ia868d6dc2da1ae7f75c0dca47034e28910584acd
1.
UX modify the string in document
Dual SIMs:
Calls & SMS
Google Fi (preferred), AT&T
Calls & SMS
Google Fi (preferred for calls), AT&T (preferred for SMS)
Calls & SMS
Google Fi (Temporarily unavailable), AT&T
Single SIM:
Calls & SMS
Temporarily unavailable
2.
UX: https://screenshot.googleplex.com/B9BETTwRoa4mfds.png
Implementation: https://screenshot.googleplex.com/4vxMLBynwdTvhEs.png
Bug: 178916743
Test: make
Change-Id: I444eb0e3361707764dae18b9fa942c7f7a80a2c6
- Change title text:
WiFi enabled: Turn off networks
WiFi disabled: Turn on networks
- Add end icon with colorAccent
- The title text color changed is not included this CL.
- Screenshot
https://screenshot.googleplex.com/44yYKphdem87UnU
Bug: 178719303
Test: manual test
atest -c AirplaneSafeNetworksSliceTest
Change-Id: I27ec111c3c9d4e228010b1495a9d0c7956ba5d74
- Add "Airplane mode is on" to sub-title
- Set the header layout to CENTER_HORIZONTAL if it's no icon
- Hide "Settings" button
- Screenshot
https://screenshot.googleplex.com/6m5dFVZu7ar4nKW
Bug: 178717651
Test: manual test
atest InternetConnectivityPanelTest \
PanelFragmentTest \
ProviderModelSliceTest
Change-Id: I899a817fd99415e9cad608aa4deac1e45365696a
Rename to setMobileDataPolicyEnabled per API council comments
Fixes: 171804465
Test: atest TelephonyManagerTest
Change-Id: Ib9ff4ee01e2af4d3fd368afffa36226100f11e2d
- Post on main thread for UI update
- Add NPE checking
Bug: 178670562
Test: manual test
- atest InternetPreferenceControllerTest
Change-Id: I6c37f7dc19f9f9bbc75b36415a47aa1366dc5f5e
When initialized SimStatusDialogController, also create TelephonyManager
with sub id.
Bug: 174171839
Test: Manual test passed, see b/174171839#25
Change-Id: I6bd6975e39c75884252b9d0bcd9d5548dbdfe6d5
- Show the connected ethernet network to first item of internet panel
- Screenshot:
https://screenshot.googleplex.com/teritCBuvxxSyr6
Bug: 176796623
Test: manual test
- atest NetworkProviderWorkerTest \
ProviderModelSliceTest
Change-Id: I423a7951f403bf86c288da52fc342520fd24f466
- Show the preference if connected to ethernet network
- Hide the preference if not connected to ethernet network
- Screenshot:
https://screenshot.googleplex.com/5ZkZXnTr9Hcfsyt
Bug: 176796623
Test: manual test
- atest ConnectedEthernetNetworkControllerTest
- make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest
Change-Id: I0f062eb2ee4898976f5e7a1c3f2c4061b60a3126
Many classes within Settings have access to the subscription info, rather
than only having access to the subscription id. For these classes, it is
more convenient to have a helper method where the whole subscription
info can be passed in, rather than having to call the
getSubscriptionId() helper method in so many locations within the
telephony settings codebase.
Bug: 150370656
Bug: 148303118
Test: atest -c SubscriptionUtilTest
Change-Id: I181960933ab8610d5572b7a7d6671fab8c1dbd22