| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| | |
Bug:19588470
Change-Id: Iadfed46a7de067513463f12fa72bdd658f5b07f8
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Like PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI
Apps in primary profile can have email lookup in managed profile
Bug: 19550046
Change-Id: I492909126faf4e1a2eb5c72f7f76f3a7a0656e6a
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 19551325
Change-Id: Ie0c31c951edab91b70b7587ab27b68db4e1f6fcd
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
This is to copy the file history for new raw contact matcher.
Change-Id: I28f9e36d743268e2c17970175c09ba4d9aed86cd
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A merge from m-wireless-dev to master ended up merging two different
upgrade steps into one, which means that any devices that were upgraded
to version 1005 before the merge would not have undergone the upgrade
from m-wireless-dev. Add another upgrade step to ensure the necessary
upgrading happens.
Bug: 19796706
Change-Id: Ibc7af5f1ff923e338d57170c9b9c289f89c32838
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
raw_contacts.backup_id and data.hash_id have been added to schema.
To make them accessible, they need to be added to projection map.
BUG 19667203
Change-Id: I7d122843668d7ed31fc998a2c7f00dc909181fc8
|
|\ \ \
| |/ /
|/| |
| | | |
Change-Id: I439330f8c022ce85005d84fd4286f4f1ffdced1c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Do a database upgrade for MNC in order to add multi-SIM fields to the
voicemail_status table and add "dirty" and "deleted" fields to
voicemails table. Add functionality in DbModifierWithNotification to
handle "dirty" and "deleted" appropriately. This new functionality is
tested in VoicemailProviderTest and CallLogProviderTest.
Bug:19236241
Change-Id: I25ebba0bdb5f720e48beaf17dbdd2846e494da74
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
To accomodate backup and restore of the call log, we have to convert the
existing sub-ID to an ICC ID. Also, add the source_phone_number to the
list of call log columns.
The ICC ID improves backup and restore because it is persistent across
different devices where a sub ID is not. If the user completely changes
their SIM card, the source_phone_number will be helpful in identifying
that scenario if the user kept their old phone.
Change-Id: Ib35e25216691e580b5ea539929ff16b2e3d30b88
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 19550047
Change-Id: I5f2a5e5d54af50cd0b41dd3105e10a4676d17388
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Enterprise phone lookup returns special photo URLs for corp contacts, which
can't be obtained just with contact IDs. So we need to cache the URIs too and
otherwise pictures sometimes don't show up.
Bug 19546108
Change-Id: I48517da681c194b6ee4ca47dda57ccff81e76981
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Moved to CallLogBackup.apk
Change-Id: I1aee3bb1dc4378bff0d346d424692bc60b3fdc40
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When choosing display names, prioritize StructuredNames that
have more than phonetic components.
I make no attempt to handle the case where a StructuredName
with only phonetic components is marked super primary. If
clients do this, the behavior is still undefined.
Bug: 19587274
Change-Id: I503c0fff6da30b9f1d6b6cbeaedfc4d9314f8a00
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If the phone account does not match any call log entries, then run the
unhiding query by the phone number instead of the specific phone
account. This addresses the cases where a user gets a new SIM card for
their existing phone number (e.g., switching service providers).
Change-Id: Ib0d5e5a36ad7445e95148470c45d8fdabd9125f7
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I238882e0dd3e63747a4eedcf3ff2af2c8d770dd4
|
|\ \ \ \
| |/ / /
|/| / /
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
regardless of requested projections.
In order to rewrite the cursor returned from the corp CP2, certain columns
are needed to compute other columns.
(e.g. PHOTO_URI requires _ID and PHOTO_FILE_ID).
This CL fixes that by always requesting all columns to the corp CP2.
Now rewriteCorpPhoneLookup() shrinks down the projection.
Bug 19545750
Change-Id: Id817d069554ebc89759303760effb557b152d58a
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | | |
Change-Id: I5f8ff641bbd3b9c186cb6e2e230ae70d02055fe4
|
|/ /
| |
| |
| |
| |
| | |
This is to copy the file history for new aggregator.
Change-Id: I57994a3c1ed0eaeaffa45bf921b2e17dbcf702d3
|
| |
| |
| |
| |
| |
| |
| |
| | |
With this change, call log should be a part of traditional android
backup. All call are backed up with this change. Subsequent changes will
filter down the call log entries which are actually backed up.
Change-Id: Id2e876003a2d0c020142eff7f65426d888fedfc1
|
| |
| |
| |
| |
| |
| | |
Adds tests for writing and reading the state.
Change-Id: Ie00b3ec0c976195e32275a0a9d75b47ee245966e
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Simple skeleton agent that reads the state of the call log. Does not
actually do any backup. It logs what calls it would backup and what
calls it would remove from backup. A subsequent CL will add the actual
backup/restore of calls.
Change-Id: Id8832c78a9a5aea71022b45c3cef79ca0b54f584
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To accomodate backup and restore of the call log, we have to convert the
existing sub-ID to an ICC ID. Also, add the source_phone_number to the
list of call log columns.
The ICC ID improves backup and restore because it is persistent across
different devices where a sub ID is not. If the user completely changes
their SIM card, the source_phone_number will be helpful in identifying
that scenario if the user kept their old phone.
Change-Id: Ib35e25216691e580b5ea539929ff16b2e3d30b88
|
|\ \
| |/
| |
| |
| |
| |
| | |
queryContentProviders to avoid "transaction too large" exception
* commit '6278612a04f0e79a30fbb4f35befeb61e9190db3':
Don't use queryContentProviders to avoid "transaction too large" exception
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead, use getInstalledPackages, which knows how to circumvent the binder
transaction size limit.
Bug 18261831
Change-Id: I2725af045c60a47bfce6eab966a5c745b6c17870
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
UPDATE
-----------------
This is being committed a second time, with
two small changes from ag/619454:
1. This CL can be directly cherry-picked to MR1 because
of the simpler unit test
2. Don't run a pointless update() call
Original CL Comment
------------------
Noticed clearSuperPrimarySetting() sometimes clears all
mimetypes's is_super_primary flag values sometimes, even
mimetypes that aren't contained in both raw contacts.
This doesn't appear to have been the intended behavior.
Looks like a simple bug. Wrote a unit test and fixed
the bug. Added a new method to DataUtil used inside the
unit test. This method wasn't strictly necessary. But
it is very useful in later CLs.
(Part #2 or "Remove NAME_VERIFIED" series of CLs)
Bug: 5080996
Bug: 18777272
Change-Id: I7944aae2ad4acb4df6560c5cd086242b7582fbf5
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When exposing the Authority API, reviewers requested the
API be implemented properly instead of storing the pre-authorized
values in memory.
Bug: 18777272
Change-Id: I31e719b10803344f579bb89c8269f0a597a83c3c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This new metadata_sync table will cache the meta data on raw contacts
level from server before they are merged into other CP2 tables.
The data column is the blob column containing all the
backed up metadata for this raw_contact. This table should only be
used by metadata sync adapter.
Bug: 18930508
Change-Id: Iacafe812ed1fbb39b48331b6da56a35ac8f129dd
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Support use of IS_SUPER_PRIMARY instead of NAME_VERIFIED.
The contact aggregator now pays attention to
IS_SUPER_PRIMARY.
Remove all references to NAME_VERIFIED from CP2.
Bug: 18777272
Change-Id: I1579a3122b2d45b80de7106a2b9616e323855045
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add backup_id column to raw_contacts table
and hash_id column to data table.
Add unique index on backup_id and account_id of raw_contacts table.
Add index on hash_id of data table.
Update the raw_contacts and data view to add the new columns.
Bug: 18930508
Change-Id: I571c1115e7fb21e23b1956aaca8a80cf9d026e59
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ie000ca609dfeb166451dee24f0cd15622f09c19a
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
UPDATE
-----------------
This is being committed a second time, with
two small changes from ag/619454:
1. This CL can be directly cherry-picked to MR1 because
of the simpler unit test
2. Don't run a pointless update() call
Original CL Comment
------------------
Noticed clearSuperPrimarySetting() sometimes clears all
mimetypes's is_super_primary flag values sometimes, even
mimetypes that aren't contained in both raw contacts.
This doesn't appear to have been the intended behavior.
Looks like a simple bug. Wrote a unit test and fixed
the bug. Added a new method to DataUtil used inside the
unit test. This method wasn't strictly necessary. But
it is very useful in later CLs.
(Part #2 or "Remove NAME_VERIFIED" series of CLs)
Bug: 5080996
Bug: 18777272
Change-Id: I7944aae2ad4acb4df6560c5cd086242b7582fbf5
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
This reverts commit c44ee526c56d2f5e680cef24897cff3a922d6a2f.
Change-Id: I2d81fb028eb0672db9cc291ac187c2629435969d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Noticed clearSuperPrimarySetting() sometimes clears all
mimetypes's is_super_primary flag values sometimes, even
mimetypes that aren't contained in both raw contacts.
This doesn't appear to have been the intended behavior.
Looks like a simple bug. Wrote a unit test and fixed
the bug. Added a new method to DataUtil used inside the
unit test. This method wasn't strictly necessary. But
it is very useful in later CLs.
(Part #2 or "Remove NAME_VERIFIED" series of CLs)
Bug: 5080996
Bug: 18777272
Change-Id: I354ffe51ea64cc532387d7ba79fbb6d2389d662e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
CHANGES
1) change is_super_primary reset as discussed in
go/proposed-change-to-resetting-super-primary-on-join
2) fix a bug in case #1 of testAggregation_clearSuperPrimary and
extended the case a bit. Previously, both data rows had
is_super_primary=false at setup instead of both true
REASON
This is mostly for the benefit of Lychee and future contact editor
changes.
This CL was also needed to make removing use of NAME_VERIFIED
from GoogleContacts possible. At the very least, IS_SUPER_PRIMARY's
behavior is now more consistent with NAME_VERIFIED.
Bug: 5080996
Bug: 18777272
Change-Id: Ic3c17fcb1757f5966a7c6a52cf489083d5b8e51a
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
manager profiles userid.
* commit 'c219a07962ad9cdaed157af9bd72232f4e5e6820':
Fix cross profile caller id to use manager profiles userid.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Cross profile caller id was checking myUserId when
deciding whether to allow caller id from manged profiles
where it should have used the managed profiles userid.
Bug: 19122752
Change-Id: I230fc933655cd9464d00b619a383ff0682660c12
|
| |
| |
| |
| |
| |
| |
| | |
Log tags >25 characters are dropped, so abbreviate
Bug: 19030945
Change-Id: I3a66ffcb41977db24e2e3ff16e6f22b530a78584
|
|/
|
|
|
|
|
|
|
| |
Remove ProviderStatus.DATA1
Discussion: go/contacts-contact-intent-ui
Bug: 18777272
Change-Id: I9c6125cc30710e4637b38f3785608abb9928d1a2
|
|\
| |
| |
| | |
into lmp-mr1-dev
|
| |
| |
| |
| |
| |
| |
| | |
This is likely an error or a shared corporate data element
Bug:18641722
Change-Id: Icab78bcf621363a5b887095c043e2e1e3a2e1ca4
|
|/
|
|
|
|
|
|
| |
Change resolvePhotoPriorityFromMetaData to use
PackageManager.queryIntentServices to avoid grabbing too much data back.
Bug:18607092
Change-Id: I32234d4906395b4940d28cc3661e49bb3de929e2
|