| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Update CallLogProvider and VoicemailProvider to provide read/write access to
voicemails based on their respective permissions.
Also update tests to reflect the new world.
Bug: 6948882
Change-Id: I26e960eae24dc1b8bd4a372420d4c42f242c88d3
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Contacts app was the only user of the snippeting functionality in
CP2, so update the default snippeting arguments to those in the Contacts
app.
Also fix some tests that had incorrect assumptions about outdated
functionality.
There is one remaining broken test in CP2 - testSearchByEmail. That has to do
with some special treatment with indexing email addresses and FTS search which
will take some more time to figure out.
Bug: 6948882
Change-Id: Id9af3ceb2dfa43a11ae528e3ab6b42371130a1f7
|
| |
| |
| |
| |
| |
| |
| | |
The names of two constants missed getting updated in a previous CL,
causing a build breakage.
Change-Id: I4853b8647c69bf2b12de43dc8a67fca75822fb14
|
| |
| |
| |
| | |
Change-Id: If42f8c76ad0d347a3b387de4fa806148a0a2d780
|
|\ \ |
|
| |/
| |
| |
| |
| | |
Bug: 15616526
Change-Id: Id8fe981a622bdea786a48cbadf9ff08289ae3987
|
|/
|
|
|
| |
Bug: 6948882
Change-Id: I549321e5ecf789f55a67ad4fbf5b939400ff20b8
|
|
|
|
|
|
|
|
|
|
| |
Added fields "component_name" and "subscription_id" to call log table in
order to save information about the subscription responsible for placing
a call. Additionally made sure relevant tests pass.
Bug: 15473965
Change-Id: I0ed99452c3cdfdba31f1a71fb342406b0652e282
|
|
|
|
|
|
|
|
|
| |
Add UNDEMOTE_METHOD that is called to undemote a contact
Fix CP2 tests to use batch content provider operations instead of
PinnedPositions.UPDATE_API
Bug: 15593967
Change-Id: Id93c6ac0e214e59107725416b7865c56c9df32f3
|
|
|
|
| |
Change-Id: Idf06de011d1c01ea7dda174189e676177f9c5847
|
|
|
|
|
|
|
|
|
|
| |
Change getNormalizedBitmap to catch attempts to scale bitmap to 0 width
or height (which would throw an uncaught IllegalArgumentException) and
instead throw an IOException, which is caught and handled by the higher
level code.
Bug:15189759
Change-Id: Ifb23d0b0d4e1c2e8038b472840a464194fbfa800
|
|
|
|
|
|
|
|
|
|
| |
Add support for tracking a secondary locale in addition to the current
primary locale for CP2. Switch to using parseable ICU language tag
(eg, "en-US") for locale tag written to DB. Secondary locale is set to
previous locale on locale change and persisted in CP2 DB and prefs.
Bug:8715226
Change-Id: Ia68397fd9118d89f3a45ac54f991f86bad42870e
|
|
|
|
|
|
|
|
| |
Remove German address book label/count test that was added with ICU 51
to check for Sch and St labels. Those labels were removed with ICU 52.
Bug:13790528
Change-Id: I238f51b86299db6353ec256508aca2bda46ca8f0
|
|
|
|
|
|
|
| |
ICU 52 removed Sch and St labels for German; update tests.
Bug:13790528
Change-Id: I774a50ed22b9dd535c2c28b99e91500c40c58d64
|
|
|
|
|
| |
Bug: 13173524
Change-Id: I6c0947d4978e204ce1268f65eab5e1cc66bda664
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After a phone lookup, "remove" entries from the cursor that
don't match the queried number w.r.t. to whether it has a leading
"*". "Removing" entries from a cursor involves making a partial
copy of the cursor.
This CL affects as little functionality as possible, so that it
can make it into MR2. Ie, we continue to ignore leading "*"s
in other CP2 queries.
MANUAL TESTS:
-Add a "*123" Emergency contact and "123" Voicemail contact
-Call "*123", then call "123". You should see two seperate
entries in your call log. In addition, the incall screens
should show Emergency and Voicemail respectively (although
the "123" call doesn't work properly inside the incall
UI right now. This is a seperate bug b/13195342).
Bug: 13195334
Change-Id: I7e1938ccb085630072611eb63148c5714b62fee8
|
|
|
|
|
|
|
|
|
|
| |
Add Serbian labels to default set (previously was only using Ukrainian
for Cyrillic languages when in a non-Cyrillic locale). This adds a net
of 3 new labels to the default label set. Added unit tests for Serbian
and Ukrainian unique characters.
Bug:11030904
Change-Id: Id35bf963ea10b89554aa0743d0f215c124b44c8d
|
|
|
|
|
| |
Bug: 10888792
Change-Id: Id9fce5cfc66adfc1192ce752e8a3c2902de2e978
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This CL tweaks queries for CONTACTS_STREQUENTS to return phone numbers
belonging to starred contacts as well. Before this, the returned cursor
consisted of a mix of starred contacts (without their phone numbers), and
frequently contacted phone numbers.
Change-Id: If0ac847dd26f093d977403ca0100769f6c63be9b
|
|/
|
|
|
|
|
|
|
|
|
| |
Bucketing thresholds
- 3 days
- 7 days
- 14 days
- 30 days
- Any contacts older than this are not shown
Change-Id: I4940920c4eb8ad4f5d130adc0b2acd30a4d7aff6
|
|
|
|
|
|
|
| |
The framework now offers an authoritative getCallingPackage().
Bug: 10626527
Change-Id: I845ce60a092d944ea0351f10ee41dbf07b8dfecd
|
|
|
|
|
|
|
|
|
|
| |
ICU 51.1 upgrade broke this test by changing the transliteration of
several characters. The test is too brittle because it tests every
possible Chinese character (more than 20k) against hard coded expected
values. Instead, test just a small handful of characters.
Bug:10116449
Change-Id: I97aa80f0d32d1219e4d01df1b79aad60471938cc
|
|
|
|
|
|
|
|
|
|
|
| |
* If a contact is UNDEMOTED, if it was previously DEMOTED, it will
become UNPINNED. Otherwise, it will remain unchanged.
* When two raw contacts are aggregated, the parent contact should
inherit the lower pinned position of the two, not including negative
integers.
Change-Id: I74f41dfa327b8e5a79688b1e99eafbef7d9d58a0
|
|
|
|
|
|
|
| |
This is needed so that operations on frequent contacts
swipe to hide, pin, etc can operate on data.contact_id instead
of data._id.
Change-Id: I66005ebcbf7608b2b96961a5637a6736c1076ab9
|
|
|
|
| |
Change-Id: I3c835c2fd0faf99f8fb176752cfcb12e011095a2
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add number presentation column to call log table and convert older call logs
to use the new column.
Bug:6948882
Change-Id: I0e8f781d30600e3bfb08d8b89a1cade531e18c7f
|
|/
|
|
|
|
|
| |
Fix unit test to check for full return values.
Bug: 7896653
Change-Id: Idab766bc3e2be129e85bd25bac6bf73aeeb80be2
|
|
|
|
|
|
|
| |
Fix commit processor unittests
Bug:
Change-Id: I61a75c622433efd2c27c3b3cfb276498a9a1df5f
|
|
|
|
|
|
|
| |
Fix createRawContact() call that was missed in update to call semantics.
Bug:8894174
Change-Id: Ib52ec9add1c6c829b359d6faebff416b81afca2a
|
|
|
|
|
|
|
| |
Missed two methods during a refactor. Updating new class prefixes for them.
Bug: 8182147
Change-Id: If3476adf043f2192b53bfaa9fc03c8149a181005
|
|
|
|
|
|
|
|
|
|
| |
Updates and inserts can be detected through the use of a new timestamp
field in the contacts table.
Deletes can be detected by querying the new deleted_contacts table.
Bug: 8182147
Change-Id: I5c1e596f4e1aa58528afc29396f79cb4051e229c
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use a uri query parameter to filter for a specific type of data usage,
otherwise the sum of all the data usage stats for that particular
data is returned.
Bug 8124079
Change-Id: Iee4c3accb46c9402f0a1659c9b8943c5a219a169
|
|/
|
|
|
|
|
|
|
|
|
| |
Change so Pinyin search keys are only generated when in a simplified
Chinese locale. Fix name style classification of phonetic names.
Generate Romaji search keys for Japanese phonetic names. Add
secondary locale labeling for a number of non-Western languages
(Japanese, Korean, Thai, Arabic, Hebrew, Greek, Cyrillic).
Bug:5356921
Change-Id: I8c3a6b67d59fbd6b7b16e4e9f69bc30d1d996a75
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add Data.Contactables.CONTENT_URI and CONTENT_FILTER_URI
Querying against these uris return email addresses and phone numbers
belonging to all contacts with email/address/names that match the filter
(if provided).
Add VISIBLE_CONTACTS_ONLY boolean parameters to Data
Bug: 8123918
Change-Id: I491cb2ff4c64c9d042d5e21cebc5f90d086c70ac
|
|
|
|
|
|
|
|
|
| |
Fix unit tests to reflect fixes to AlphabeticIndex from backporting
ICU 51 fixes into current Android ICU drop. Add tests for new German
"Sch" and "St" labels.
Bug:
Change-Id: I9c4778bec24eebe6ed4228d541b6a6d95c6701aa
|
|
|
|
|
|
|
|
| |
Make sure the FastScrollingIndexCache instance used for the unit tests
was created with the correct MockSharedPreferences
Bug:
Change-Id: I612638dadab394ea3ed8abbbe6f47de5f17601fe
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Save current ICU version into the ContactsDB and rebuild
locale specific data whenever the version changes.
Bug:
Change-Id: Id5fd3e178558dc903b522b2655c75e6aa353f6e5
|
|\ \
| |/
|/|
| | |
jb-mr2-dev
|
| |
| |
| |
| |
| | |
Bug: 8129961
Change-Id: If6dd3b5ebec19ef7c9fea493d90f0e8d88435f01
|
|/
|
|
|
|
|
| |
Fix tests to account for fixes made in ICU 50. Add some additional tests.
Bug:
Change-Id: I7d1fb0588f56b58da5c5177823ed5c16c4603e24
|
|\
| |
| |
| | |
jb-mr2-dev
|
| |
| |
| |
| | |
Change-Id: I81c749401c54c9f3facc921b7bc4e778a33ea22e
|
|/
|
|
|
|
|
|
|
|
| |
Switch from using native code registered as sqlite callbacks to using
JNI wrappers for accessing ICU AlphabeticIndex. Stop using specialized
sort keys for Simplified Chinese because ICU code can correctly label
the characters directly.
Bug:
Change-Id: I0568b3a406495c147c7b9b3e72835d11d93f9d16
|
|
|
|
|
|
|
|
| |
Switch from using hard coded tables copied from ICU to calling ICU
Transliterator directly for Pinyin transliteration.
Bug:
Change-Id: I87aae623dfe049a90cee213182275aa51a7dcd9c
|
|
|
|
|
|
|
|
|
| |
- Prioritizing "default" emails over last used emails.
- Added ordering for same domain emails as last order by.
Bug: 7183241
Bug: 7346215
Change-Id: I6a8ba3cfe08792693eec4896f16853a88713bc3f
|