| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* commit '79e7936a4efa92c7bfb9e77da181144711a65b78':
Renaming Telecomm to Telecom.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.
Bug: 17364651
Change-Id: Ie33d1f8fd0bc228a7cf0da3f70a0fa945cee716a
|
|/
|
|
|
|
|
|
| |
Set is_super_primary to 0 for all the shared mime-types's data
between aggregated contacts.
Bug:5080996
Change-Id: Ie65259c11d719b343f234e5fccf883491e7992a7
|
|
|
|
|
| |
Bug: 17253963
Change-Id: I9e9e56cdf4c9a60ac1e047bef0eba2ba0c8f10fb
|
|
|
|
|
| |
Bug: 17390425
Change-Id: Ia88fb0235a56becc3ec5a770067856311769a68c
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Don't add "userid@" to the provider authority when setting up the
secondary cp2 for the corp profile.
Bug 17357026
Change-Id: Ife0265ee71c1fb28af87fc09763b1e53584ee358
|
|/
|
|
|
| |
Bug: 17096027
Change-Id: Ia640ef8a8f88eb5f9ff9eddc096bcaf334bba3c9
|
|
|
|
|
|
|
|
| |
- Rename isCorpContactId() to isEnterpriseContactId().
Bug 17253963
Change-Id: Ib89b491c52f2b1326a11c991574a117f75fc8bcd
|
|
|
|
|
|
|
| |
Add tests for PinnedPositions.pin
Bug: 17253963
Change-Id: I887fb291fa4de8db6859655956a80898d1ee618c
|
|
|
|
|
| |
Bug: 14307606
Change-Id: Id17a122cb9e86f9ae64232773869cb2108754ed0
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the old code we only put ids to the cache in the insert case, but the
select case. This means once the process restarts it'd never put anything in
the cache.
Also added the test for the conflict case.
Bug 16574964
Change-Id: I9979b61b6e1a3f04a81bcf2b78a678378f1a009c
|
|
|
|
|
|
|
|
|
|
| |
Also fix a few issues:
- Fix projection map for phone_lookup/enterprise and add PHOTO_FILE_ID
- Null out custom ringtones from the corp CP2. Returning rintones in the corp
profile really doesn't make sense.
- Fix a log in queryPhoneLookupEnterprise().
Change-Id: If0617225228c526d4b7d87e9c95f6fbe090242a0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With the old code there was a chance of two threads trying to write the same
mimetype simultaneously, ending up getting "UNIQUE constraint failed".
One possible way to fix it is just to add locks, but doing so *might* cause
deadlocks due to implicit locks in SQLiteDatabase. So in this CL, we just retry
when we detect a conflict.
Unfortunately we can't use a transaction here because this method is called
from onCommitTransaction() too.
Also refactored the code to unify getPackageId() and getMimeTypeId().
Bug 16574964
Change-Id: I66274dfd080ae808795a4d59d30978b1ca1c06c0
|
|
|
|
|
|
|
|
|
|
| |
Update the value of some pre-defined constants in tests
Make sure that aggregation correctly sets pinned positions for
aggregated contacts - the lowest pinned position of all constituent
raw contacts, and 0 if none of them are pinned.
Bug: 16628573
Change-Id: I3e072baf7ff933a6eef861ed394f3fc817aee48b
|
|
|
|
|
| |
Bug: 16403306
Change-Id: I21d25ba836d9d9ab45a7ebdca0e2f24f8c678e43
|
|
|
|
| |
Change-Id: Ifc62da87c8b9e0af57aa6c7c81e1747311683c37
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This prevents aggregation by phonetic name
Note: if a contact only has a phonetic name (i.e. without any non-phonetic name components), then
its display name is set from the phonetic name. This CL does *not* prevent phonetic-name-based
display names getting into NAME_LOOKUP, meaning if two contacts have no names but the same phonetic
name, then they *will* still be aggregated. But this shouldn't be an issue since what was an issue
was "aggregating two contacts with *different* names with the same phonetic name".
Bug 10957673
Change-Id: I6484128b1f7e4bbe1b08c57969a8a1ef147d5c7d
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 16403306
Change-Id: I86fcd1f2d1d145edf1ba3d4bd8ce21d14dcb94d0
|
|/
|
|
|
|
|
| |
Dialer needs access to the TRANSCRIPTION column via the CallLog to
show voicemail transcriptions inline.
Change-Id: Id1807923a07af9e9e34783e6be2e39485eee7795
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Bug 16484915
Change-Id: I70be9323d1da6c909383b144f0f2b8fcef9b1214
|
|/
|
|
|
|
|
|
|
|
|
| |
- Also add a test for UserUtils
- Also fix broken tests due to UserUtils.
Bug 16467654
Bug 15779911
Bug 16458399
Change-Id: I64a4526b512fce94590b75eae037a8bdcd874064
|
|
|
|
| |
Change-Id: I2e97b348e6316a8b3ccc39fd81013e7f514a2889
|
|
|
|
|
|
|
|
| |
Rename READ_ALL_VOICEMAIL to READ_VOICEMAIL, and MANAGE_VOICEMAIL
to WRITE_VOICEMAIL
Bug: 16400686
Change-Id: I45d841b886c2bbe230c2f13fddbce41a729b6c61
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I13c7e29248c678bf6c533920b4ad562b653cf8f0
|
|/
|
|
|
|
|
|
|
|
|
|
| |
On startup of a secondary user's call log provider, sync any call log entries from
the primary user's call log that are:
1) Newer than the last sync time
2) Not a voicemail
3) Not a duplicate entry (identified by the number, and start time of the call)
Bug: 16298776
Change-Id: I843dfd8dd5c9433942e610cbbc2dfed95c29dd1c
|
|
|
|
| |
Change-Id: I1c198cbf086c7f267178a26d2a50123a8edaec12
|
|
|
|
|
| |
Bug: 10928782
Change-Id: I8e0e53e3c746baa64dd868a0e1c57444e2050578
|
|
|
|
|
| |
Bug:16292368
Change-Id: I8ca4031b36c821f8b071f9227f90266b066d3501
(cherry picked from commit 66df49ed5dc962cd80dcbbd845a5a83321ceee63)
|
|
|
|
|
| |
Bug: 16015261
Change-Id: I08d28a5af5b52cc8ca2e03e6db82f68807c1f69f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|