Support ?limit=N query parameter for contacts provider.

This lets callers limit the number of results returned
from the contacts provider. When there are thousands
of contacts, just filling the cursor window
can take several seconds. This results in severe
user-visible latency.

The limit argument can reduce the latency for
applications that do not need all matching contacts,
e.g. global search.
1 file changed
tree: 6fe5f6fb8a8d5a342ca7ef076d2ff7aeec75f532
  1. res/
  2. src/
  3. Android.mk
  4. AndroidManifest.xml
  5. MODULE_LICENSE_APACHE2
  6. NOTICE