diff options
author | blong <blong@codeaurora.org> | 2015-08-24 10:31:19 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-09-05 23:51:57 -0700 |
commit | baabb38c523fbc0660cc0d573ed062df306c6a95 (patch) | |
tree | f839c892467ec48715e11a5051e5a576510c484d /res | |
parent | e52bc7e9db5534767f3b44f70ad4a6d25089347c (diff) | |
download | packages_providers_ContactsProvider-baabb38c523fbc0660cc0d573ed062df306c6a95.zip packages_providers_ContactsProvider-baabb38c523fbc0660cc0d573ed062df306c6a95.tar.gz packages_providers_ContactsProvider-baabb38c523fbc0660cc0d573ed062df306c6a95.tar.bz2 |
Add fuzzy search for contact number
- Add a new interface to support fuzzy search , it can search
out the contacts by any parts of number, such as for phone
number 13567854, it can be searched out by 356,785 and so on.
Change-Id: I89175ef49f70446a3f061684ae5e2abd92e92445
Diffstat (limited to 'res')
-rw-r--r-- | res/values/config.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/res/values/config.xml b/res/values/config.xml new file mode 100644 index 0000000..7d79bbe --- /dev/null +++ b/res/values/config.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright (C) 2015, The Linux Foundation. All Rights Reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of The Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--> + +<resources> + + <!-- If true, it supports fuzzy search for contacts number --> + <bool name="phone_number_fuzzy_search">true</bool> + +</resources>
\ No newline at end of file |