packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/modes/ZenModeTest.java
+28
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
For the "add a mode" flow we need to create and edit a ZenMode instance without writing it to the backend until the user confirms. Therefore, we now support: * parceling a ZenMode (so it can be restored in onSaveInstanceState/onCreate). * creating a custom_manual ZenMode instance without interacting with NMS/ZenModeBackend. Bug: 326442408 Test: atest com.android.settingslib.notification.modes.ZenModeTest Flag: android.app.modes_ui Change-Id: Ie502175a91c5148ef156a7236feb6120d42d220d