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

Commit a3fd3555 authored by David van Tonder's avatar David van Tonder
Browse files

Framework: Add Missed call and Voicemail to notification light settings (2/3)

This commit adds the ability to store the configured missed call and voicemail
light settings

Requires Part 1 (Settings) and Part 3 (Phone) commits

Change-Id: I726cbad5c0f9f7d4f84091eeb747c21567ce443e
parent 710a0db6
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
@@ -1944,6 +1944,42 @@ public final class Settings {
         */
        public static final String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_OFF = "notification_light_pulse_default_led_off";

        /**
         * What color to use for the missed call notification LED
         * @hide
         */
        public static final String NOTIFICATION_LIGHT_PULSE_CALL_COLOR = "notification_light_pulse_call_color";

        /**
         * How long to flash the missed call notification LED
         * @hide
         */
        public static final String NOTIFICATION_LIGHT_PULSE_CALL_LED_ON = "notification_light_pulse_call_led_on";

        /**
         * How long to wait between flashes for the missed call notification LED
         * @hide
         */
        public static final String NOTIFICATION_LIGHT_PULSE_CALL_LED_OFF = "notification_light_pulse_call_led_off";

        /**
         * What color to use for the voicemail notification LED
         * @hide
         */
        public static final String NOTIFICATION_LIGHT_PULSE_VMAIL_COLOR = "notification_light_pulse_vmail_color";

        /**
         * How long to flash the voicemail notification LED
         * @hide
         */
        public static final String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_ON = "notification_light_pulse_vmail_led_on";

        /**
         * How long to wait between flashes for the voicemail notification LED
         * @hide
         */
        public static final String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_OFF = "notification_light_pulse_vmail_led_off";

        /**
         * Whether to use the custom LED values for the notification pulse LED.
         * @hide
@@ -2410,6 +2446,9 @@ public final class Settings {
            LOCKSCREEN_SOUNDS_ENABLED,
            SHOW_WEB_SUGGESTIONS,
            NOTIFICATION_LIGHT_PULSE,
            NOTIFICATION_LIGHT_PULSE_DEFAULT_COLOR,
            NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_ON,
            NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_OFF,
            SIP_CALL_OPTIONS,
            SIP_RECEIVE_CALLS,
            POINTER_SPEED,