Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1ffb4f4 authored by Lyn Han's avatar Lyn Han
Browse files

Add flag for notif dismissal prototype

New flag: Settings.Global.SHOW_NEW_NOTIF_DISMISS
- Do not backup to other devices
- To be removed before release

Usage:
adb shell settings put global show_new_notif_dismiss [0|1]
- 0 to disable
- 1 to enable

Test: treehugger
Bug: 171817112
Change-Id: I8712a7f8a2bac6483afd52ede9e478f8b08d661d
parent fa010049
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -14524,6 +14524,15 @@ public final class Settings {
         */
        public static final String SHOW_NEW_LOCKSCREEN = "show_new_lockscreen";
        /**
         * Whether to show new notification dismissal.
         * Values are:
         * 0: Disabled
         * 1: Enabled
         * @hide
         */
        public static final String SHOW_NEW_NOTIF_DISMISS = "show_new_notif_dismiss";
        /**
         * Block untrusted touches mode.
         *
+1 −0
Original line number Diff line number Diff line
@@ -442,6 +442,7 @@ public class SettingsBackupTest {
                    Settings.Global.SHOW_NOTIFICATION_CHANNEL_WARNINGS,
                    Settings.Global.SHOW_PEOPLE_SPACE,
                    Settings.Global.SHOW_NEW_LOCKSCREEN,
                    Settings.Global.SHOW_NEW_NOTIF_DISMISS,
                    Settings.Global.SHOW_RESTART_IN_CRASH_DIALOG,
                    Settings.Global.SHOW_TEMPERATURE_WARNING,
                    Settings.Global.SHOW_USB_TEMPERATURE_ALARM,