Add DnD as a special case Slice

Add DND Slice as a special case, since there is an existing
inheritance structures in the zen mode preference controllers which
would be too risky to change at this point in the release.

Test: make RunSettingsRoboTests
Bug: 67997377
Change-Id: Ice608b9a7bd6f38b73e581eb3723f0a2fae96f2b
This commit is contained in:
Matthew Fritze
2018-04-30 12:48:44 -07:00
parent f868f86672
commit 4710917aa4
7 changed files with 307 additions and 17 deletions

View File

@@ -72,7 +72,6 @@ public class WifiSliceBuilderTest {
final Slice wifiSlice = WifiSliceBuilder.getSlice(mContext);
final SliceMetadata metadata = SliceMetadata.from(mContext, wifiSlice);
final List<SliceAction> toggles = metadata.getToggles();
assertThat(toggles).hasSize(1);