diff options
author | Eric Erfanian <erfanian@google.com> | 2017-10-24 14:05:52 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-10-24 14:05:52 -0700 |
commit | 938468da6f5c225ebb161a68bd949c9cf3261892 (patch) | |
tree | 232533fa35dc9d140fdfe0dac82b2bd21ad1b5c4 /java/com/android/dialer/searchfragment/remote | |
parent | 958b292fc04ad15879fff47df929d6d1a826615c (diff) |
Rename the new bubble package name from "bubble" to "newbubble".
It fixes AOSP for package name conflict.
Test: manual
PiperOrigin-RevId: 173298696
Change-Id: Id10ebe0bcf029e61f65cf6580c7198abd8395081
Diffstat (limited to 'java/com/android/dialer/searchfragment/remote')
-rw-r--r-- | java/com/android/dialer/searchfragment/remote/RemoteContactsCursorLoader.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/java/com/android/dialer/searchfragment/remote/RemoteContactsCursorLoader.java b/java/com/android/dialer/searchfragment/remote/RemoteContactsCursorLoader.java index eb472732f..64175bebc 100644 --- a/java/com/android/dialer/searchfragment/remote/RemoteContactsCursorLoader.java +++ b/java/com/android/dialer/searchfragment/remote/RemoteContactsCursorLoader.java @@ -44,7 +44,8 @@ public final class RemoteContactsCursorLoader extends CursorLoader { Uri.withAppendedPath(Phone.CONTENT_URI, "filter_enterprise"); private static final String IGNORE_NUMBER_TOO_LONG_CLAUSE = "length(" + Phone.NUMBER + ") < 1000"; - private static final String MAX_RESULTS = "20"; + private static final String PHONE_NUMBER_NOT_NULL = Phone.NUMBER + " IS NOT NULL"; + private static final String MAX_RESULTS = "10"; private final String query; private final List<Directory> directories; @@ -55,7 +56,7 @@ public final class RemoteContactsCursorLoader extends CursorLoader { context, null, Projections.DATA_PROJECTION, - IGNORE_NUMBER_TOO_LONG_CLAUSE, + IGNORE_NUMBER_TOO_LONG_CLAUSE + " AND " + PHONE_NUMBER_NOT_NULL, null, Phone.SORT_KEY_PRIMARY); this.query = query; |