livedisplay: Fix validator for the nudge counter
* This is a range counter starting from -3 (initial value) which counts upwards once a day. It's finally set to 1 when either the feature is used or we gave up with the nudges. Change-Id: Ia19b381aa35c598b31b46071479ae590dc8d9ffd
This commit is contained in:
parent
b62448a59b
commit
3944915061
|
@ -1390,7 +1390,7 @@ public final class CMSettings {
|
||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
public static final Validator LIVE_DISPLAY_HINTED_VALIDATOR =
|
public static final Validator LIVE_DISPLAY_HINTED_VALIDATOR =
|
||||||
sBooleanValidator;
|
new InclusiveIntegerRangeValidator(-3, 1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable statusbar double tap gesture on to put device to sleep
|
* Enable statusbar double tap gesture on to put device to sleep
|
||||||
|
|
Loading…
Reference in New Issue