- Show "Airplane mode" title when airplane mode is enabled
- Remove "Airplane mode is on" subtitle
- Show "Wi-Fi is turned on" subtitle when both airplane mode and Wi-Fi
is enabled
- Remove the function related to isApmNetworksAvailable()
- Screenshot:
https://screenshot.googleplex.com/6X9nzmXRCUfw4Lphttps://screenshot.googleplex.com/6jQryMjU2yDDpmM
Bug: 181858434
Test: manual test
atest -c InternetConnectivityPanelTest \
InternetPreferenceControllerTest \
InternetUpdaterTest
Change-Id: I84e5d4c60ed91d58443b27c35286a84bf72ac173
- Separate APM and APM network types from other Internet types because
they can coexist at the same time.
- Show no internet icon in airplane-mode networks.
- Show connected non-carrier(Wi-Fi) network in airplane-mode networks.
- Show connected Ethernet network when airplane mode on.
- Screenshot:
https://screenshot.googleplex.com/cr3eWNLMEuJ8zvPhttps://screenshot.googleplex.com/6DiMqKBBnBoxxhN
Bug: 180778141
Bug: 180778839
Bug: 179106406
Test: manual test
atest -c ConnectedEthernetNetworkControllerTest \
InternetConnectivityPanelTest \
InternetPreferenceControllerTest \
InternetUpdaterTest
Change-Id: I861d5ce879facbb61dfdc5b7be943662d55bdcca
- Post on main thread for UI update
- Add NPE checking
Bug: 178670562
Test: manual test
- atest InternetPreferenceControllerTest
Change-Id: I6c37f7dc19f9f9bbc75b36415a47aa1366dc5f5e