| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Undemoting goes through a separate code path as the rest of the
CP2 queries/updates, so we need to do a permission check for the
WRITE_CONTACTS permission
Change-Id: I547270376c55f6ff311d5712eef8a6b0b923eee8
|
|
|
|
| |
Change-Id: I1d42a39eb8a27d65b4208dd2174f919929b0fb94
|
|
|
|
|
|
|
|
|
| |
Follow the framework changes that deleted UPDATE_URI in
ContactsContract.PinnedPositions
Bug: 15593967
Change-Id: Ibf5b0d7fa7588b60742b324ba125075e28d9cc81
|
|
|
|
|
|
|
|
|
| |
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: I73c0b8ee1833feefc60fa7024276222fcfb146c5
|
|
|
|
| |
Change-Id: Idf06de011d1c01ea7dda174189e676177f9c5847
|
|
|
|
|
|
|
|
|
|
| |
VoicemailContentProvider
and CallLogProvider
Bug:15695227
Change-Id: I244541c847c07450535a52d0bf38199b55387202
|
|
|
|
|
|
|
| |
Fix aggregation merging if first raw contact lacks a display name.
Bug:15192402
Change-Id: Ibf125c1bbe7f5fc55302ea66ec405567930de300
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
Bug: 14990572
Change-Id: I0b5d4e305bc8104ec5ccc6c8fb692ba618ffff5f
|
|/
|
|
|
|
|
|
| |
Remove unused getProperty() call in upgradeLocaledata() that created
a recursive call to getDatabase()
Bug:15091283
Change-Id: I372763aaff3daf47c3b191c3dc669d26a4b25a62
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
by local instances.
Change-Id: If520599d00dc51dc6e2c99bfedd2baa90e4eb28e
|
|
|
|
|
|
|
|
|
|
|
| |
Shouldn't include any functional changes, mostly focused on
dead-code removal, also removing unused/unnecessary code/logic,
tightening up access modifiers (e.g. using private vs. public) as
much as possible, using Java's built-in iteration when applicable,
grouping variables by static/non-static and access modifiers (e.g.
private members last, etc).
Change-Id: I4fa6af136b5da0ae6183eadce4798746b18813cb
|
|\
| |
| |
| | |
(http://ag/383391)"
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(http://ag/383391)
Do not use constants for initializing the UriMatcher --
it'll make it hard to glance supported URIs.
Bug 13302012
Change-Id: Ic24e535828cff6111bd0649519e24bcc1a9d2a3b
|
|/
|
|
| |
Change-Id: I8f7a232cd2b2452a46444bb6b8f45df05f8e1e81
|
|
|
|
|
| |
Bug: 11059351
Change-Id: I17e123859765d8194d463ec412e44e55f479cf73
|
|
|
|
|
| |
Bug: 11059351
Change-Id: I5d5193e37bf6cdbf059779f745cc73314c751962
|
|
|
|
|
|
| |
Bug: 11059351
Change-Id: I7c8989fd8505f888f5bc8605e68a2d73d0142b76
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
The starred portion of the query in the starred+frequents
query does not respect the user's selection. This CL adds
the selection as an AND clause in the query.
Change-Id: Ie36931b0733e3aab05c3d7e2461843e5f3ec7f2d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When there are there are two identical email data items, each belonging
to a different sync adapter account, the "SELECT DISTINCT" operator
causes the two emails to be incorrectly grouped before the account
prioritization sort order is applied.
This can cause the email address to be labelled with the wrong account,
causing it to be incorrectly ranked as an email address from another account.
To fix this, account name and type is added to the group by clause to
ensure that each email address is grouped correctly based on their account
before ranking them by account priority.
Bug: 12207447
Change-Id: Ib79f6c36ee6a83838bcaa82487f2f7fb9716bbf4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In this case, the contact id of the raw contact is nulled out. This has the
side effect of making the IN clause of sqlite never equal. Similar to:
SELECT 1 as id WHERE id NOT IN (SELECT null);
always returns 0 rows because the comparison to null is always false.
Protect against this case by eliminating null contact ids.
Bug: 11826565
Change-Id: Ide9b150bb7f94d03c210d43dbc8cdd5c42c21cf9
|
|\
| |
| |
| |
| |
| |
| | |
CONTACTS_DATABASE_CREATED intent." into klp-dev
* commit '0c52af7a3e137f131dcec1c45589291296911a87':
Fix broadcast of CONTACTS_DATABASE_CREATED intent.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The intent needs to be fired after database creation in case the user does
a clear data. This is needed in addition to the boot receiver to cover
all cases.
Bug: 11570016
Change-Id: Iaa3d952cc6db0a9c0e55e209f5fe41919ae7250a
|
| |
| |
| |
| |
| |
| | |
This makes it easier to trace URI to provider methods and visa versa.
Change-Id: I7961eeba3b88362f1323483ede14865dc7f56948
|
|\ \
| |/
| |
| |
| | |
* commit '901b8c98ecba095d53b8cc811a2c8c00ab0faad7':
Catch potential NPE
|
| |
| |
| |
| |
| |
| |
| | |
Catch case where country detector might return a null country
Bug:11139097
Change-Id: I5d4841a8f8d852e18cff1f9c359d5e005c7e58b8
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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: 10966248
Change-Id: I297925f336114d98c1109158e19546e81f03fe90
|
|/
|
|
|
| |
The global search API is not being deprecated in this release, so we
want to keep the support for it.
|
|
|
|
|
| |
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
|
|\ \
| | |
| | |
| | | |
into klp-dev
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bucketing thresholds
- 3 days
- 7 days
- 14 days
- 30 days
- Any contacts older than this are not shown
Change-Id: I4940920c4eb8ad4f5d130adc0b2acd30a4d7aff6
|
|/
|
|
|
|
|
|
| |
The global search API is being deprecated. Remove the code from the
contacts provider that implements it, as nothing queries is anymore.
Bug: 10487397
Change-Id: I590e98964e5774dd47340df9b38d252b63a5b915
|
|
|
|
|
|
|
|
|
| |
These two filters now only perform name lookups. The search index manager
indexes names, nicknames, and organization title and company name for
name lookups.
Bug: 10680335
Change-Id: I283c61af64a2f104b7482a2819ed4b8a238cba04
|
|
|
|
|
|
|
| |
The framework now offers an authoritative getCallingPackage().
Bug: 10626527
Change-Id: I845ce60a092d944ea0351f10ee41dbf07b8dfecd
|
|
|
|
|
| |
Bug: 10539498
Change-Id: Ic094e472e5a567e1dc6be4cbd14c02938df1de47
|
|
|
|
|
|
| |
Revert https://us3-mirror-googleplex-android-review.googlesource.com/#/c/344550
Change-Id: I03628d48b58d20605206f88a6dbb803b3486f25f
|
|
|
|
|
|
|
|
|
| |
This is needed so that ContentResolver.openFileDescriptor doesn't
throw an exception because it can't handle non-unknown file
lengths
Bug: 9864852
Change-Id: I4daeec09bf9f332000eafc3edb1f7ef6046f5048
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|