[Provider Model] Add Wi-Fi toggle slice

- Reuse “Turn on networks” slice

- Add "Turn on Wi-Fi" slice
  - Show Wi-Fi end icon

- Screenshot:
  https://screenshot.googleplex.com/63pdow7dJh3tTw7

Bug: 181858434
Test: manual test
atest -c TurnOnWifiSliceTest \
         InternetConnectivityPanelTest

Change-Id: I82de79fd45e99d2fe82554437bde50068dc1ae00
This commit is contained in:
Weng Su
2021-03-08 03:16:12 +08:00
parent 0994940af2
commit 036deee00e
8 changed files with 241 additions and 350 deletions

View File

@@ -157,7 +157,7 @@ public class InternetConnectivityPanelTest {
assertThat(uris).containsExactly(
CustomSliceRegistry.PROVIDER_MODEL_SLICE_URI,
CustomSliceRegistry.AIRPLANE_SAFE_NETWORKS_SLICE_URI);
CustomSliceRegistry.TURN_ON_WIFI_SLICE_URI);
}
@Test