History log of /packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1dbbda3b035f2e1e581bb8c403b1d351d2ccdbc9 01-Feb-2016 Victor Chang <vichang@google.com> Show work call title for missed call notification

1. return complete ContactInfo in CallLogNotificationsHelper
2. use ContactInfo.userType to decide use work call title or not

BUG=26902076

Change-Id: Ic58fea1002de053ba69bc0aff06691b8a8605e64
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
495110a89d71f68379a0046d624be1af4085c7b8 25-Jan-2016 Victor Chang <vichang@google.com> Remove the work badge icon for Google caller id in call log

An extended directory is custom directory in the app,
but not a directory provided by framework. So it can't
be USER_TYPE_WORK

When a search result is selected, RegularSearchFragment
calls getContactInfo and caches the resulting @{link ContactInfo}
into a local db. Set userType to USER_TYPE_WORK only
if it's NOT extended directory id and is enterprise directory

BUG=26680007

Change-Id: I92aa4b7c3dac20257e689eb0a4dfa0afbd81764c
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
240523d3e1b4502326c8d0d313dd1787aa8ff024 17-Dec-2015 Victor Chang <vichang@google.com> Show work badge icon/description in InCallUI/Dialer

Add work badge icon in calllog for work contacts

To see this feature
1. Receive/Make a call from work contact
(a contact in work profile has the phone number)
2. Drop/miss the call. See a badge icon next to phone label in calllog
BUG=26082618

Change-Id: I7371795e3c3ef925739096f39a70f03722dd430b
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
5f1c7dbf86603f534fbacdc96bab30d683913f4f 20-Oct-2015 Brandon Maxwell <maxwelb@google.com> Call log respects display name order preferences

- Updated ContactInfoHelper to retrieve DISPLAY_NAME_ALTERNATIVE (name
in last name first order)
- Stored alternative name in ContactInfo object
- Updated CallLogAdapter to choose between first name first and last
name first when showing contact name
- Added tests for ContactInfoHelper.lookupContactFromUri (changed to
public method)
- Fixed bug with ContactsPreferences so ChangeListener works

Bug:19364093
Change-Id: I73e8d8602a54e3134ef01b3d5167d828b26fa5ea
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
d16c3775149c6eb02daed287fe33383c1d26f322 23-Oct-2015 Brandon Maxwell <maxwelb@google.com> Revert "Call log respects display name order preferences"

This reverts commit 327fb5bb609a6bee44a62888d671c951b19782fd.

Change-Id: I134f0a26697bec20b746a6e8f041a715d8e95136
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
327fb5bb609a6bee44a62888d671c951b19782fd 20-Oct-2015 Brandon Maxwell <maxwelb@google.com> Call log respects display name order preferences

- Updated ContactInfoHelper to retrieve DISPLAY_NAME_ALTERNATIVE (name
in last name first order)
- Stored alternative name in ContactInfo object
- Updated CallLogAdapter to choose between first name first and last
name first when showing contact name
- Added tests for ContactInfoHelper.lookupContactFromUri (changed to
public method)
- Fixed bug with ContactsPreferences so ChangeListener works

Bug:19364093
Change-Id: I188d8fc2eccb87edbe56625c9a7537b3d5f0e19e
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
e224017d69630c3b3aea2667e26ab91bb9ecc0be 15-Jun-2015 Andrew Lee <anwlee@google.com> Fix abundance of "Custom" labels.

Not sure precisely why this changed, but hopefully this logic is
more robust. Show the geocoded location if there is no name to use
and a location is available.

Removed GEOCODE_AS_LABEL, which wasn't really used anymore.

Bug: 21814339
Change-Id: I1343282ef415647853d7995d900a3f50186ad156
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
7c414093c8c66a69cfea77a0ac10c1354f96cb7c 09-Mar-2015 Makoto Onuki <omakoto@google.com> Show corp contacts in call-log...

as wells as the missed-call notification.

Just PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI instead of
PhoneLookup.CONTENT_FILTER_URI.

This CL requires the new column in calllog provider.

Change-Id: I61a2f63bcad102cb8a7e8021483b7dfe254abd95
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
55733814f213809baaa8eaa8984ff026bdb08b4e 01-Oct-2014 Anthony Lee <anthonylee@google.com> Fix HTTP request to a report bad caller ID entry in the call log (1/2)

A few things needed to change to fix this bug.
1. Add object ID to ContactInfo and make sure that it is persisted
2. Adding a new row means migration from older versions of DBs
3. Fix logic that determines if we can report a given call log entry since
the strategy of using isExternal() is not valid. UI impact.
4. Fix the HTTP request that is generated to include a valid object ID
intead of using the source ID.

Bug: 17692726
Change-Id: If541fea963837118b7466b6c59f453103cdbdc4a
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
b77bf5df2b866dd40e330b7c2dedee4a1d51fc78 10-Jul-2014 Sai Cheemalapati <saicheems@google.com> DO NOT MERGE Added report button to UI and database.

It toasts when clicked for now. The database is not updated when it
is clicked yet.

Bug: 11150383

Change-Id: Ifd588bdfb36dd8a96977a870071a064726f6e669
(cherry picked from commit 3eae4825ee9a29bd43c9b01d3cbf92de6ad3eb11)
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
56cb0efa5eda1670077e66fc0e8c79478d0c1c67 21-Feb-2014 Yorke Lee <yorkelee@google.com> Use new ContactPhotoManager APIs for letter tile avatars

*Modify the following uses of ContactPhotoManager.loadPhoto in the following
classes to include a DefaultImageRequest, populated with the contact's
display name, lookupkey, and contact type as necessary

CallDetailActivity
CallLogAdapter
PhoneFavoriteTileView

*Add utility methods to ContactInfoHelper, to parse a lookupUri for a lookup
key, as well as determine whether or not a contact is a business contact,
from its sourceType field.
*Add a sourceType field to PhoneCallDetails which can be used to track
whether or not PhoneCallDetails belongs to a business contact
*Add a lookupKey field to ContactInfo

Bug: 13101785
Change-Id: If339a9c038f92a0212f8f8b45b5e3cc5f6442562
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
9fd02a6742c8e9139a03d80bacca360238be11bf 30-Sep-2013 Chiao Cheng <chiaocheng@google.com> Turn on reverse lookup by default.

- Adding new caller id is enabled message when the call short cut is displaying
a reverse lookup result or if the number is unknown.
- Added dismiss "X" button which turns of the badge forever.
- Fixed issue where main screen was cutting off add contact button when few
favorites are present.

Bug: 10956658
Change-Id: Iea298d41b2ad6c3f63bc5580dc54fa0dc81d8c52
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
e6933be00d2ecc266612a374a62e05352937408e 13-Sep-2013 Chiao Cheng <chiaocheng@google.com> Changes to detect whether a call is voicemail.

To determine whether to show discovery for caller id.

Bug: 10723396
Change-Id: I924e9a8c05dced4f1ea239c0db71c131bb662da7
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
173ec96476278f0d6aa147d31a60aa3e419e5ca3 30-Aug-2013 Jay Shrauner <shrauner@google.com> Add contacts to the cache when dialed

Add GAL or local search contacts to the cache when dialed.

Bug: 10609551
Change-Id: I787e0f2e1fe458a7f5518241823493333d9ade7c
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
034a2b329e469bf6888fbbcf91992f974015c2a8 27-Aug-2013 Yorke Lee <yorkelee@google.com> Use contacts cache in call log adapter

Bug: 10490038

Change-Id: I4c7fc5094f76dfaaa321bc69d595f37bb72f87ad
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
35071c06d1587942f5a66c8f12e6247e8f904d26 16-Oct-2012 Chiao Cheng <chiaocheng@google.com> Removing contacts dependencies from CallDetailActivity.

Bug: 6993891
Change-Id: I3ef54efc0ff92367ea4f9b68c1629a99d90ff22c
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java
94b10b530c0fc297e2974e57e094c500d3ee6003 18-Aug-2012 Chiao Cheng <chiaocheng@google.com> Initial move of dialer features from contacts app.

Bug: 6993891
Change-Id: I758ce359ca7e87a1d184303822979318be171921
/packages/apps/Dialer/src/com/android/dialer/calllog/ContactInfo.java