diff --git a/packages/SettingsLib/res/drawable/notification_auto_importance.xml b/packages/SettingsLib/res/drawable/notification_auto_importance.xml
new file mode 100644
index 0000000000000..a63e911b9ffc7
--- /dev/null
+++ b/packages/SettingsLib/res/drawable/notification_auto_importance.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/SystemUI/res/layout/notification_guts.xml b/packages/SystemUI/res/layout/notification_guts.xml
index 062ae35d27506..e1424f0cb7e54 100644
--- a/packages/SystemUI/res/layout/notification_guts.xml
+++ b/packages/SystemUI/res/layout/notification_guts.xml
@@ -32,7 +32,7 @@
+ android:layout_width="48dp"
+ android:layout_height="48dp" />
-
-
diff --git a/packages/SystemUI/res/layout/power_notification_controls_settings.xml b/packages/SystemUI/res/layout/power_notification_controls_settings.xml
new file mode 100644
index 0000000000000..83c8a51f63305
--- /dev/null
+++ b/packages/SystemUI/res/layout/power_notification_controls_settings.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/SystemUI/res/values/colors.xml b/packages/SystemUI/res/values/colors.xml
index d26fb061bb24d..c75741c1d4870 100644
--- a/packages/SystemUI/res/values/colors.xml
+++ b/packages/SystemUI/res/values/colors.xml
@@ -108,6 +108,7 @@
#eeeeee
@*android:color/material_deep_teal_500
+ @*android:color/material_grey_300
#858383
#8a000000
#4d000000
diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml
index a4d7a18e05050..37b00bbfdc27f 100644
--- a/packages/SystemUI/res/values/strings.xml
+++ b/packages/SystemUI/res/values/strings.xml
@@ -1225,38 +1225,69 @@
Don\'t silence or block
- Show full importance settings
+ Power notification controls
+ On
+ Off
+ With power notification controls, you can set an importance level from 0 to 5 for an app\'s notifications.
+ \n\nLevel 5
+ \n- Show at the top of the notification list
+ \n- Allow full screen interruption
+ \n- Always peek
+ \n\nLevel 4
+ \n- Prevent full screen interruption
+ \n- Always peek
+ \n\nLevel 3
+ \n- Prevent full screen interruption
+ \n- Never peek
+ \n\nLevel 2
+ \n- Prevent full screen interruption
+ \n- Never peek
+ \n- Never make sound and vibration
+ \n\nLevel 1
+ \n- Prevent full screen interruption
+ \n- Never peek
+ \n- Never make sound or vibrate
+ \n- Hide from lock screen and status bar
+ \n- Show at the bottom of the notification list
+ \n\nLevel 0
+ \n- Block all notifications from the app
+
+
+ Importance: Automatic
- Blocked
+ Importance: Level 0
- Min importance
+ Importance: Level 1
- Low importance
+ Importance: Level 2
- Normal importance
+ Importance: Level 3
- High importance
+ Importance: Level 4
- Urgent importance
+ Importance: Level 5
- Never show these notifications
+ App determines importance for each notification.
+
+
+ Never show notifications from this app.
- Silently show at the bottom of the notification list
+ No full screen interruption, peeking, sound, or vibration. Hide from lock screen and status bar.
- Silently show these notifications
+ No full screen interruption, peeking, sound, or vibration.
- Allow these notification to make sounds
+ No full screen interruption or peeking.
- Peek onto the screen and allow sound and allow sound
+ Always peek. No full screen interruption.
- Show at the top of the notifications list, peek onto the screen and allow sound
+ Always peek, and allow full screen interruption.
More settings
diff --git a/packages/SystemUI/res/xml/other_settings.xml b/packages/SystemUI/res/xml/other_settings.xml
new file mode 100644
index 0000000000000..3c872fa98bc7f
--- /dev/null
+++ b/packages/SystemUI/res/xml/other_settings.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/SystemUI/res/xml/tuner_prefs.xml b/packages/SystemUI/res/xml/tuner_prefs.xml
index 1af9075a4e16b..116bc69fd0d4f 100644
--- a/packages/SystemUI/res/xml/tuner_prefs.xml
+++ b/packages/SystemUI/res/xml/tuner_prefs.xml
@@ -135,21 +135,10 @@
android:fragment="com.android.systemui.tuner.NavBarTuner" />
-->
-
-
-
-
-
-
-
-
+
Other > Power notification controls
+ TUNER_POWER_NOTIFICATION_CONTROLS = 392;
+
+ // System UI Tuner > Other > Power notification controls > Toggle on/off
+ ACTION_TUNER_POWER_NOTIFICATION_CONTROLS = 393;
+
// Add new aosp constants above this line.
// END OF AOSP CONSTANTS
}