diff options
author | Christine Chen <christinech@google.com> | 2013-05-30 16:54:09 -0700 |
---|---|---|
committer | Christine Chen <christinech@google.com> | 2013-06-28 14:51:23 -0700 |
commit | 661834dd3b45b477165effe126a9c243750ae8d6 (patch) | |
tree | 18bdf376ca37f70c9409366a447783a692fa83fb /res | |
parent | 68a5a26411d18bba457942bf1ae4c2623cc4da74 (diff) |
Add SmartDial database for the Dialer app.
- Creates a database helper to create a smartdial database for the Dialer app.
- Queries all rows in the Contact database and copies related columns to
the smart dial database.
- Create another prefix database to contain all prefixes of a contact.
- During keypad input, the prefix databse is queried to find contact
suggestions, and suggestions are ranked by the usage data and contact
status (starred, primary contact, etc.)
- Created unit test for the SmartDial database insertion and prefix
computing functions.
Change-Id: I4d7c3b3bcc52dd6efa4d6e69d3f1687c3abaeb69
Diffstat (limited to 'res')
0 files changed, 0 insertions, 0 deletions