Loading core/java/android/provider/Settings.java +32 −0 Original line number Diff line number Diff line Loading @@ -3093,6 +3093,36 @@ public final class Settings { */ public static final String QUIET_HOURS_END = "quiet_hours_end"; /** * Whether to remove the sound from phone ringing during quiet hours. * @hide */ public static final String QUIET_HOURS_RINGER = "quiet_hours_ringer"; /** * Constant: Keep ringer on for all numbers during quiet hours * @hide */ public static final int QUIET_HOURS_RINGER_ALLOW_ALL = 0; /** * Constant: Only ring for numbers in contact list during quiet hours * @hide */ public static final int QUIET_HOURS_RINGER_CONTACTS_ONLY = 1; /** * Constant: Only ring for favorite contacts during quiet hours * @hide */ public static final int QUIET_HOURS_RINGER_FAVORITES_ONLY = 2; /** * Constant: Disable ringer during quiet hours * @hide */ public static final int QUIET_HOURS_RINGER_DISABLED = 3; /** * Whether to remove the sound from outgoing notifications during quiet hours. * @hide Loading Loading @@ -3495,7 +3525,9 @@ public final class Settings { QUIET_HOURS_ENABLED, QUIET_HOURS_START, QUIET_HOURS_END, QUIET_HOURS_RINGER, QUIET_HOURS_MUTE, QUIET_HOURS_HAPTIC, QUIET_HOURS_SYSTEM, QUIET_HOURS_STILL, QUIET_HOURS_DIM, Loading Loading
core/java/android/provider/Settings.java +32 −0 Original line number Diff line number Diff line Loading @@ -3093,6 +3093,36 @@ public final class Settings { */ public static final String QUIET_HOURS_END = "quiet_hours_end"; /** * Whether to remove the sound from phone ringing during quiet hours. * @hide */ public static final String QUIET_HOURS_RINGER = "quiet_hours_ringer"; /** * Constant: Keep ringer on for all numbers during quiet hours * @hide */ public static final int QUIET_HOURS_RINGER_ALLOW_ALL = 0; /** * Constant: Only ring for numbers in contact list during quiet hours * @hide */ public static final int QUIET_HOURS_RINGER_CONTACTS_ONLY = 1; /** * Constant: Only ring for favorite contacts during quiet hours * @hide */ public static final int QUIET_HOURS_RINGER_FAVORITES_ONLY = 2; /** * Constant: Disable ringer during quiet hours * @hide */ public static final int QUIET_HOURS_RINGER_DISABLED = 3; /** * Whether to remove the sound from outgoing notifications during quiet hours. * @hide Loading Loading @@ -3495,7 +3525,9 @@ public final class Settings { QUIET_HOURS_ENABLED, QUIET_HOURS_START, QUIET_HOURS_END, QUIET_HOURS_RINGER, QUIET_HOURS_MUTE, QUIET_HOURS_HAPTIC, QUIET_HOURS_SYSTEM, QUIET_HOURS_STILL, QUIET_HOURS_DIM, Loading