commit | 941b76f48d4c434cb9f7a67319627e2cef7b785b | [log] [tgz] |
---|---|---|
author | Nicolas Catania <niko@google.com> | Tue Jan 19 14:09:40 2010 -0800 |
committer | Nicolas Catania <niko@google.com> | Tue Jan 19 14:09:40 2010 -0800 |
tree | dfb8d967253cea0b04085849b5371648dee63cfa | |
parent | 34fe5ca86dcd5a707ea5ff55d751e16e74968cd6 [diff] [blame] |
Fix bug in the test to check if the digits area is empty.
diff --git a/src/com/android/contacts/TwelveKeyDialer.java b/src/com/android/contacts/TwelveKeyDialer.java index 5cb07ea..2180dad 100644 --- a/src/com/android/contacts/TwelveKeyDialer.java +++ b/src/com/android/contacts/TwelveKeyDialer.java
@@ -1180,6 +1180,6 @@ * @return true if the widget with the phone number digits is empty. */ private boolean isDigitsEmpty() { - return mDigits.length() != 0; + return mDigits.length() == 0; } }