OSDN Git Service

Add wifi connection info to the multi-network header
authorAntony Sargent <asargent@google.com>
Fri, 14 Dec 2018 20:45:04 +0000 (12:45 -0800)
committerAntony Sargent <asargent@google.com>
Mon, 17 Dec 2018 21:46:40 +0000 (13:46 -0800)
commit74cb72433a5b13601f437f981c769f2766914545
tree9b5cad15f808edb85fe7b3816d0faf3f1599ebc1
parente92e07eb97eba0f99e5fc46a26587ba796d9acdb
Add wifi connection info to the multi-network header

The Network & internet page will have a dynamic header at the top when
users have more than one mobile subscription, showing information about
connectivity.

This CL adds a preference to this header when there is a wifi connection,
showing the same information as on the wifi-page (connection strength,
speed rating if available, etc.).

Bug: 116349402
Test: make RunSettingsRoboTests
Change-Id: Ia80d6e236a4996b501372ac4cd8e46ba6c5f8841
src/com/android/settings/network/MultiNetworkHeaderController.java
src/com/android/settings/wifi/WifiConnectionPreferenceController.java [new file with mode: 0644]
tests/robotests/src/com/android/settings/network/MultiNetworkHeaderControllerTest.java
tests/robotests/src/com/android/settings/network/WifiConnectionPreferenceControllerTest.java [new file with mode: 0644]