Merge "Change night display auto mode Validator type"

This commit is contained in:
TreeHugger Robot
2018-02-07 19:32:29 +00:00
committed by Android (Google) Code Review

View File

@@ -7396,7 +7396,8 @@ public final class Settings {
*/
public static final String NIGHT_DISPLAY_AUTO_MODE = "night_display_auto_mode";
private static final Validator NIGHT_DISPLAY_AUTO_MODE_VALIDATOR = BOOLEAN_VALIDATOR;
private static final Validator NIGHT_DISPLAY_AUTO_MODE_VALIDATOR =
new SettingsValidators.InclusiveIntegerRangeValidator(0, 2);
/**
* Control the color temperature of Night Display, represented in Kelvin.