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:
Steve Kondik 2016-04-15 22:42:29 -07:00
parent b62448a59b
commit 3944915061

View File

@ -1390,7 +1390,7 @@ public final class CMSettings {
/** @hide */
public static final Validator LIVE_DISPLAY_HINTED_VALIDATOR =
sBooleanValidator;
new InclusiveIntegerRangeValidator(-3, 1);
/**
* Enable statusbar double tap gesture on to put device to sleep