diff options
| author | 2015-02-12 11:30:36 -0800 | |
|---|---|---|
| committer | 2015-02-12 11:30:39 -0800 | |
| commit | 64d6e9ceec5967489547725ff77a00334f5fe3b5 (patch) | |
| tree | f19b8eff2e0de42953ab07e4db8386686da0ed01 | |
| parent | cbcf1d48540bfbfb9b98cc14038ec526e090b6e3 (diff) | |
Fix a reversed condition in the next alarm validator
bug:19361375
Change-Id: Ib5ac90503842aafd994423632fd1f463e49088a0
| -rw-r--r-- | core/java/android/provider/Settings.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 7b3ecebec0ba..c836a331ba20 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -2098,7 +2098,7 @@ public final class Settings { @Override public boolean validate(String value) { // TODO: No idea what the correct format is. - return value == null || value.length() > MAX_LENGTH; + return value == null || value.length() < MAX_LENGTH; } }; |