| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ |
|
| |
| |
| |
| | |
Change-Id: I3c835c2fd0faf99f8fb176752cfcb12e011095a2
|
|\ \
| |/
|/|
| |
| |
| |
| | |
8d54a6e0: resolved conflicts for merge of b8fb609b to jb-mr1-dev
* commit '84acbc81b50e8d30df668b4ffd763b7c96e172a2':
Do not allow updates to the _data column.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
conflicts for merge of b8fb609b to jb-mr1-dev
* commit 'e2688b18df75eceb4895fecaaf4f0ebd42f23ef7':
Do not allow updates to the _data column.
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
merge of b8fb609b to jb-mr1-dev
* commit '44c3d51be8deee28d01e3e3f739a2f6b1fc608fa':
Do not allow updates to the _data column.
|
| | | |\
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
b8fb609b to jb-mr1-dev
* commit '13d744f2290a405bf99b1f8114da23668bd15274':
Do not allow updates to the _data column.
|
| | | | |\
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '466d84110ef8f03b91561dd7a778558570e32abb':
Do not allow updates to the _data column.
|
| | | | | |\
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '8d54a6e0fa9fb4bb0a2b3b2f36d0e9bf930d05c8':
Do not allow updates to the _data column.
|
| | | | | | |\
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Change-Id: I336ee0b3f041f83a4b4e2c9973abb73852c2cc6f
|
| | | | | | | |\
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '284f71646d1953f2d78b53e2cdb42cb93e1d9d6f':
Do not allow updates to the _data column.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fixes a security hole where applications can update the data location of
voicemail files to point to arbitrary file paths.
Voicemail provider stores the location of the data file in the _data column.
Applications can update this with an arbitrary file path as long as they
have the ADD_VOICEMAIL permission. Then they can subsequently read that
voicemail and obtain access to the file. This location is generated by the
provider and does not need to be updated by the applications.
Bug: 9674953
(cherry picked from commit ab2a24c126f35ae4aefb469f91094e5972abd8f0)
Change-Id: I6c795fe8e283f60f71ebc0e53606383c9fd22e71
|
| | | |\ \ \ \ \ \
| | | | |/ / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '9c842fcf486ed5c70ca6db3106349aade27751bf':
White list file names and do not allow ".."
|
| | | | |/ / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixes security vulnerability where application can pass in relative file paths
with ".." in the string to access files outside of the dumpedfiles directory.
Bug: 9607306
Change-Id: Iad219cb48fa560d837498c2dc75127294dcf401b
|
| |\ \ \ \ \ \ \
| | |/ / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '4a1ade1e8e86f8f8d2f47fce809e0b5e64735c2d':
White list file names and do not allow ".."
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixes security vulnerability where application can pass in relative file paths
with ".." in the string to access files outside of the dumpedfiles directory.
Bug: 9607306
Change-Id: Iad219cb48fa560d837498c2dc75127294dcf401b
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Bug 9811106
Change-Id: Iaf83808fe66886d4cdd66b991c3964972314c500
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixes a security hole where applications can update the data location of
voicemail files to point to arbitrary file paths.
Voicemail provider stores the location of the data file in the _data column.
Applications can update this with an arbitrary file path as long as they
have the ADD_VOICEMAIL permission. Then they can subsequently read that
voicemail and obtain access to the file. This location is generated by the
provider and does not need to be updated by the applications.
Bug: 9674953
Change-Id: I9c8fc45071a06d627574a52bafbd9e6e172b4bf8
|
|\ \ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fixes security vulnerability where application can pass in relative file paths
with ".." in the string to access files outside of the dumpedfiles directory.
Bug: 9607306
Change-Id: Iad219cb48fa560d837498c2dc75127294dcf401b
|
|\ \ \ \ \ \ \ \ \
| | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
empty"
* commit '5e0fa885379a1919f9e7719ba3eb666ee2341084':
Change method to determine if the table is empty
|
| |\ \ \ \ \ \ \ \
| | |_|/ / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '321d81dcc008d4d7b3ad02272960a9972a141c90':
Change method to determine if the table is empty
|
| | | |/ / / / /
| | |/| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
queryNumEntries API perform "COUNT(*)" query.
It is slower than New API that perform "EXISTS".
If the goal is to determine if the table is empty,
using new API is better.
[+] https://android-review.googlesource.com/52750
Change-Id: Idcc2633d0a5349c59f41e125cf34c9dc6622cdbe
|
| |_|/ / / / /
|/| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Make sure that the oldVersion is upgraded so that it doesn't throw
an exception after a successful upgrade step.
Change-Id: I29d4b85a2990a93abde340b4e1f60ddfc8698b3f
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Contacts database is created before boot completes by the
ContactsUpgradeReceiver. Any notifications fired before boot will not be
received by applications.
Bug: 9394450
Change-Id: I1c47308c7ec52b777f9f4ca8c19141634e4e0baa
|
|\ \ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Add number presentation column to call log table and convert older call logs
to use the new column.
Bug:6948882
Change-Id: I0e8f781d30600e3bfb08d8b89a1cade531e18c7f
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Also fixes a sometimes-bug: the contacts database helper can be
invoked for upgrade prior to system boot, but it sends broadcasts.
Use FLAG_RECEIVER_REGISETRED_ONLY_BEFORE_BOOT flag to avoid problems.
Bug 8765951
Change-Id: I4ee4b4c3e17803e73c63e7a2e06e35088d1a611d
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Updates the last_updated_timestamp of a contact when there is new
usage data available: last time contacted and times contacted.
Change-Id: I633d617681d56072a0d1f09d75a7fcba7e47b219
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Use ICU collator when ordering by DISPLAY_NAME to get locale aware ordering.
Bug:
Change-Id: I059761a311961a80998a628c67746b78ca3d14c7
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Catch various places we would crash if a data column didn't parse
as expected as an int or long.
Bug:9050606
Change-Id: I241e8a2b158eea89a2b86ca20d3b93379668084d
|
|\ \ \ \ \ \ \
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '3f88ff6b537fb53806f126b4aea3355686387717':
Fix method not found errors for unit test.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Two methods in MoreDatabaseUtils are no longer used after a recent bug
fix. But the tests for them are erroring out in userdebug builds because
proguard is stripping the methods.
Bug: 8894559
Change-Id: Idc2b4c9fd2fd6b58a3c44e5a40dec1b1c582cd2e
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
ContactsProvider2 uses method getLocale() to allow tests to override
default locale. This locale, however, was not being used for the
NameSplitter. Change the createNameSplitter method to take locale as an
input parameter so the SearchIndexManager tests will run with the right
search indexes.
Bug:7264326
Change-Id: I2535673032dcd628d8719b00eff6512cba9dc279
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Avoids leak.
Change-Id: I2f5197d05e920b85062e5b88abb043a464bf17de
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Contacts with multiple raw contacts were not being inserted into the delete
log when accounts are removed. This was due to the raw contacts being removed
in batch instead of one at a time. The logic to determine whether a contact
can be deleted was determining whether other raw contacts exist. This does
not work when all raw contacts are removed in a single batch.
Added logic to pre-select contacts that will be deleted.
Bug: 8696462
Change-Id: I95adccf9e6756bbf6ca9dd7d144c1d9ee8905631
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Sqlite has a limit of 999 bind variables by default. Since there is no risk
of sql injection in this method, change to building sql by concatentation.
Bug: 8676489
Change-Id: I9bfea735bb14fd65c84eb4255825b7ad3f5fae71
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Account removal uses a different code path from normal contact deletes. This
patch properly adds deleted contacts into the delete log when an account is
removed. Also updates contact last updated timestamp for the non-delete case
when a raw contact is removed from an aggregate contact.
Bug: 8654272
Change-Id: I05c3ef297e5ad2ca6713e06d0b40206876cf0b9e
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
|\ \ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Switch to using ICU ImmutableIndex, which is thread-safe and theoretically
has faster lookups.
Bug:
Change-Id: Icd1f8b53c73f44fe71aeb99aefb9286405ea32d1
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|