Add zen onboarding screen
Bug: 77658931
Test: make -j RunSettingsRoboTests
Change-Id: Ifc886148ed742d72b5606a9ce7eb19d0da234c9e
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 1a0c3a1..5a2e01a 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -742,6 +742,10 @@
android:exported="true"
android:taskAffinity="com.android.settings"
android:parentActivityName="Settings">
+ <intent-filter android:priority="1">
+ <action android:name="android.settings.ZEN_MODE_BLOCKED_EFFECTS_SETTINGS" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.notification.ZenModeBlockedEffectsSettings" />
<meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
@@ -749,6 +753,20 @@
</activity>
<activity
+ android:name=".notification.ZenOnboardingActivity"
+ android:label="@string/zen_onboarding_dnd_visual_disturbances_header"
+ android:icon="@drawable/ic_settings_notifications"
+ android:theme="@style/Theme.Settings.NoActionBar"
+ android:exported="true"
+ android:taskAffinity="com.android.settings"
+ android:parentActivityName="Settings">
+ <intent-filter android:priority="1">
+ <action android:name="android.settings.ZEN_MODE_ONBOARDING" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
+
+ <activity
android:name="Settings$ZenModeBehaviorSettingsActivity"
android:label="@string/zen_mode_behavior_settings_title"
android:icon="@drawable/ic_settings_notifications"