| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Brian informs me that he (or Makoto) changed the
external account type constructor to not abort
if it doesn't parse the xml so I updated the test
for unknown packages to expect to get initialized.
* Looks like an omission that SIP address does not
have a maxOccurs set to 1 when initilized. I tried
to change the test data file contacts_fallback.xml
to not include a maxOccurs attr but it needs one
and it must be set to 1.
Bug 15413731
Change-Id: I4a8a297799686885eaa64868a2b8c0f25c177f4b
|
|
|
|
|
| |
Bug: 17034954
Change-Id: I0ebec04ddad3cc1c8d979b02f834e5d544e8d6f3
|
|
|
|
|
|
|
|
|
|
| |
* Remove usages of NAME_VERIFIED
* Update ContactLoader tests
* Also fix broken unit tests as a result of ProviderInfo not having
an authority.
Bug: 17253963
Change-Id: I887fb291fa4de8db6859655956a80898d1ee618c
|
|
|
|
|
| |
Bug: 16517558
Change-Id: Ib819864dce11818861d455efbf2b9059d91f622c
|
|
|
|
|
| |
Bug: 16327819
Change-Id: I6c71519b834a2194f4d79b92bd85d48cd5edeaa6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move constants that originally lived in the framework into ContactsCommon
* Use SharedPreferences instead of System settings to persist preferences
* Use a SharedPreferenceListener to monitor changes instead of a content observer
on system settings
* Move DisplayOrderPreference and SortOrderPreference into ContactsCommon so that
it can be used by Dialer
* Create base DialerSettingsActivity in Dialer, and make GoogleDialerSettingsActivity
extend it
Bug: 16153186
Change-Id: Ib3500b82b03960a30b565f1024f20f78879d3ce3
|
|
|
|
| |
Change-Id: I2b1462f91ec385cd203475bc2b550df11a576e09
|
|
|
|
| |
Change-Id: I7b8f818becb5e0e1d855db742de053d9a23a09a2
|
|
|
|
|
|
|
| |
The names of two constants missed getting updated in a previous CL,
causing a build breakage.
Change-Id: I2dec3d91f79aa74f24d84324569cda95c7e455c4
|
|
|
|
| |
Change-Id: I73cd3d1a2e7ae12f2e8d94f0a093c6d91bf7c912
|
|
|
|
| |
Change-Id: I9f3a538284106605ba55cc42ac757b157c3ebd42
|
|
|
|
|
|
|
|
| |
These methods made assumptions of how getRelativeTimeSpanString works that
were incorrect.
Bug: 15541650
Change-Id: Ibdba688587b21d5fc547832ebee0997fc290c9fb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix broken dependencies on InjectedServices because its name space
was conflicting with the TestCommon package in ContactsCommon
After rebuilding both ContactsCommon and Contacts, you might have to
clear out your data/app folder by doing
adb root; adb remount; adb shell
cd data/app
rm *.*
and then doing adb sync again
Change-Id: Ie67ef6fbba14768cb37f76dfd3c52dd343ed478c
|
|
|
|
|
|
| |
This reverts commit dca4d855aac546f0969113d611355aaf3a698656.
Change-Id: If68bf7fd2191c8403b8e3fe18d22610fc96dab4a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix broken dependencies on InjectedServices because its name space
was conflicting with the TestCommon package in ContactsCommon
After rebuilding both ContactsCommon and Contacts, you might have to
clear out your data/app folder by doing
adb root; adb remount; adb shell
cd data/app
rm *.*
and then doing adb sync again
Change-Id: Iabbe19b4a40d3ec76c410c0352ea48ba9e344a34
|
|
|
|
| |
Change-Id: I2fe2ce2df70c3e5eceff411af252b5c6e0937e00
|
|
|
|
|
|
|
| |
under 4 headings, "Today", "Yesterday", "Last week", "Other".
Bug: 13962594
Change-Id: Iba10211c1f6e162309063f9944b437c543013b7f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
RawContacts.ACCOUNT_TYPE_AND_DATA_SET
Data.RES_PACKAGE
These fields are private in ContactsContract and are not
actually used anywhere else within Contacts or Dialer.
Bug: 6948882
Change-Id: Ie5ca6d9c37fa40f2c5d7d27e15fdbf745f8fc74f
|
|/
|
|
|
|
|
|
|
|
| |
Remove stale testSetMask_LengthMismatch test
Update SpannedTestUtils to check for StyleSpan instead of ForegroundColorSpan
Add READ_CONTACTS permission
Bug: 13516535
Change-Id: Ibe10ca6cde42277697dc185e4cab35238d190023
|
|
|
|
|
|
|
|
|
|
|
| |
This CL simply moves classes from Contacts into ContactsCommon.
This is needed so that Dialer can use ContactLoader related code
for b/11294679. A ContactLoader will also be needed in the future
to allow InCallUI to download hi-res photos while in call.
Bug: 11294679
Change-Id: If56a60aed2003ac7b8fcedac7ce4f1a7503bce94
|
|
|
|
|
| |
Bug: 10713067
Change-Id: I6fd3e6018619d61f7c69bbcaf2ad7475b20499a6
|
|
|
|
|
|
| |
- Re-match smart dial query every time in BindView.
Change-Id: I42a54948481fead693db5a2db188bcc31202d6ee
|
|
|
|
|
|
|
| |
- Extends functionalities in text highligher.
- Changes pemissions in parent classes.
Change-Id: Ib5717fe00760b5a88c747e1ff8fda598d987fa98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The case of collapsing phone numbers with different formats was broken due to
another bug fix. e.g...
(555) 555-5555
555-555-5555
would not collapse when they should.
The second problem was that an inconsistency was inadvertently introduced when
deciding what numbers are equal.
rule 1)
+14155551212 == 4155551212
rule 2)
14155551212 != 4155551212
implicitly a third rule was in effect....
rule 3)
+14155551212 == 14155551212
By transitive equality, then all version of the number are equal which broke
rule 2. This could be seen in the UI when all 3 version of the number exists
and they are all collapsed into 1.
Bug: 8621998
Bug: 7519057
Change-Id: Iafb36fbdc72f9a76d9313811894b57aafebb4f35
|
|
|
|
|
|
|
|
| |
Fix SearchUtil::contains() so doesn't overrun string buffer when trying
to match query that partially matches end of the buffer.
Bug:7971792
Change-Id: Ifff09049b0a82af17413a7e56b9e5de938ff009d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previous CL removed the use ContactsContract.snippetize(). This method
found the proper line in a multi-line results and then snippetized the
line if it was too long.
This CL adds that functionality back without using snippetize(). This
new code is faster because it only does text intensive processing when
the text is long. The previous snippetize method did processing for all
strings. In addition, the old method iterated over the snippet multiple
times (i.e. first with contains, then subsequently tokenizes, etc). This
change re-uses the initial search results and remembers the search
information so multiple iterations are not necessary. In addition,
tokenizing has been optimized based on the match. We only need to
chop off excess content rather than tokenizing the whole string.
This CL also makes snippet more friend to landscape mode. Previously,
the number of snippet tokens shown was hard-coded to 2 on each side.
Furthermore, this caused longer tokens to exceed screen real estate. Now
the number of tokens shown are determined more accurately by character
count versus real estate. In landscape mode, this allows us to show
much more of the search result.
Finally, fixed a highlight problem when the search query contained
punctuation. For example, a search for {.ben.} would not match {ben}.
This Cl resolves that issue by cleaning the search query.
Bug: 5929143
Change-Id: I5c368e6de8b34ca912f86926f862a02f95199fa7
|
|
|
|
|
|
| |
Related to I1883621bb64452726cd92035d30001c29b478574.
Change-Id: I667fd3bd46f7884d3c38118fc72b227805127e29
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previous CL I9cbdf10d21c79f53bc621bacb7eeeb95a6a2435f fixed missing
punctuation at the start when searching without punctuation. (e.g.
{hello})
This CL fixes the case where leading punctuation is missing if you searched
with a leading punctuation. (e.g. {'hello}). The content provider
uses a different code path when it detects multi-words and snippeting
is actually done in sqlite using the FTS snippet method. The check for
multi-word was treating {'hello} as two words.
This means that multi-word searches will still have this issue as it still
uses the sqlite snippet method. Leaving this to a separate CL since it's
a riskier change.
Bug: 5929143
Change-Id: I1883621bb64452726cd92035d30001c29b478574
|
|
|
|
|
| |
Bug: 6148388
Change-Id: I5b08d6534a794361e67ba2ad72148fed10a5b148
|
|
|
|
|
| |
Bug: 6993891
Change-Id: Iaf94a00abfb64c9b0eb547dd446f743f6cd855ce
|
|
|
|
|
|
|
|
| |
Moving AccountTypeManager to ContactsCommon so it can be shared by Contacts
and Dialer.
Bug: 6993891
Change-Id: If8bc8137b0b5800f21ee46aa4027b79e0048d32e
|
|
|
|
|
|
|
| |
Moving dependencies in preparation to move AccountTypeManager.
Bug: 6993891
Change-Id: I10893209986efd288315dc6b51c7971838ac3923
|
|
|
|
|
|
|
|
| |
Further clean-up of PhoneFavoriteFragment in Dialer app to move all necessary
dependencies into Contacts Common package.
Bug: 6993891
Change-Id: Ie310707da47d5e5c91e281d140f11e1eb47a5118
|
|
|
|
|
|
|
| |
Move common classes from Contacts to Contacts Common.
Bug: 6993891
Change-Id: Idd0b3115df810090340d1b10b04eb698d5facfb6
|
|
|
|
|
|
|
|
|
|
| |
- Move logic from PhoneActionInflater and PhoneActionAltInflater into common
utility method so it can be shared by PhoneNumberInteraction without going
through account manager.
- Added unit tests.
Bug: 6993891
Change-Id: I53e74df02bea031886ee512360b9f1abc083d66c
|
|
|
|
|
|
|
|
|
| |
Had to fix contacts common AndroidManifest to include an empty application tag.
Also disabling proguard since Contacts common is a library project and does
not have any activities by itself.
Bug: 6993891
Change-Id: I6b56ce54d48991c62c8c35e438474f7a5a074f86
|
|
|
|
| |
Change-Id: Ibf213cf6c8ff0724a72c89127b62f114643e3d7b
|
|
|
|
|
|
|
| |
Moved from People package so it can be shared by dialer.
Bug: 6993891
Change-Id: I85268c040498621a324c459ce237a51b30e7d3a4
|
|
In safe mode, a cursor can come back as null even though our providers never
allow for that. NoNullCursorAsyncQueryHandler should be used instead of
AsyncQueryHandler from now on. It will return EmptyCursor in place of a null.
Bug: 7012260
Change-Id: I5b8ba6fb85ae0f984ee8b0ff2f2f068232a03848
|