04639ba0a939988d00131e61458807dac650f9c3 |
|
01-Dec-2010 |
David Brown <dab@google.com> |
Reduce the outrageous verbosity of CallerInfo.toString(). Bug: 3121292 Change-Id: Ia8383891ef29a003acbd627b25ce87a187ef95c0
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|
85e0ff8f3d6e66b0d943851f478863c7afa71e16 |
|
22-Oct-2010 |
David Brown <dab@google.com> |
Fix bug 3121292: Contact photo not shown correctly for SIP calls The problem was that when we did a contact lookup based on a SIP address, the resulting CallerInfo object did not have the person_id field set correctly. That meant we had no way to look up the photo for that person. This was because of a missing case in the logic to determine which column (in the resulting cursor) to use for the person_id lookup. We were handling lookups fine in the PhoneLookup and Phone tables, but were missing a case for direct lookups in the Data table (which is how we look up SIP addresses.) The fix is to add a case for URIs like "content://com.android.contacts/data" when looking up the person_id. Also, since the person_id lookup is pretty hairy (and includes ~20 lines of comments to explain what it's doing!) refactor it out into a helper method. TESTED: Both SIP and PSTN calls; verified that contact name *and* photo are displayed correctly in all cases. Bug: 3121292 Change-Id: I2b0083cc5394c1a49bbdc9a4e5651854aedb82f7
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|
6fe795ecd35c4d49822d349424fc71b660577dfc |
|
20-Oct-2010 |
Hung-ying Tyan <tyanh@google.com> |
Do another contact lookup if the first one fails and... it's a SIP call and the peer's username is all numeric. The all-numeric username could be a PSTN number. Bug: 3105116 (case #2) Change-Id: I1de9cfac3aab1c4c89935176264d07693adb5e7d
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|
a42880749b368e60caee77dd682d434e48ca96bd |
|
12-Oct-2010 |
Wink Saville <wink@google.com> |
Remove some PII. Change-Id: I4df27119b6bbd28bf950516fd6f44676a8e04f06
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|
2e27a0be78bd9510785789caa14baa029051ca20 |
|
07-Oct-2010 |
Wink Saville <wink@google.com> |
Changed handling of onQueryCompelete to not use mimeType. Using mimeType causes an IPC request to contacts which can be slow. This can cause an ANR of the Phone app. This change parses the URL and to decide which column to use for the person_id and thus should not cause an ANR. bug: 3060704 Change-Id: I750c72746c7269e162f0338c0a3e00230a600519
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|
c72509b4d815e23bfa563cfe96e04f54f2a221fe |
|
06-Jan-2010 |
Nicolas Catania <niko@google.com> |
Fix the CallerInfo lookup when a phone URL is used. Typically the CallerInfo is looked up based on a phone number, in which case the '_id' column contains the contact id. However when the lookup is based on a phone row, the '_id' column is the row number we queried. The contact id is stored somewhere else in a 'contact_id' column. The current fix, checks the mime type of the contactRef URL to find out which column contains the contact id. I think the contact DB should be more consistent and always return the contact id AS contact_id even in the phone number scenario. Bug:2269240
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|
60d45f0f0320801a16db2ad038453c098e98966c |
|
16-Sep-2009 |
Nicolas Catania <niko@google.com> |
Added a field to track if the call is to a voicemail instance. Refactored common code between CallerInfo and CallerInfoAsyncQuery that deal with voicemail number comparison. In CallerInfo.java added a new field mIsVoiceMail to indicate this is a voicemail call. Added a new method to convert the CallerInfo into a VM instance. Added a new method to generate a debug string from an instance. PhoneNumberUtils has a new method "isVoiceMailNumber" to check if a number is a VM one. I left the method as hidden. Previously any security exception failure was cached in a static variable. I removed that and privilege the optmistic scenario. I am not sure if the security exception is only for the 'regular' telephony layer and if it applies if a 3rd party VM app is installed (e.g googlevoice), hence i removed the cashing to make sure we can pick up new voicemail providers when installed/enabled/disabled. Bug:2112640
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|
e22415817febc8d3229d1774f3b0dfda0fda8f46 |
|
15-Sep-2009 |
Nicolas Catania <niko@google.com> |
New field in CallerInfo to cache if the call is an emergency one. Fixed a bug in the sync call, the photo resource was not set to picture_emergency. Added tests to check the correct emergency fields are set in the caller info instance. Bug 2112640
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|
84b4d37dd1e9269f73c2a9cacadcd88ec4256e3f |
|
10-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
[Issue 2099206] Encoding phone number prior to sending it to the phone lookup filter Change-Id: I80327febe7134ac1bdef958251943a9777879d53
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|
3c513ed95cee2e0bcd7208cb7e46307f09c907c9 |
|
20-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Converting CallerInfo to new Contacts API.
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|
2563a3ac05dd3cf8a07203ae682c243f2e793137 |
|
09-Jun-2009 |
Wink Saville <wink@google.com> |
Cleanup whitespace.
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|
dda5391d5079537e275c9f4ed2637a1484d0e4e8 |
|
29-May-2009 |
Wink Saville <wink@google.com> |
Motorola additions for CDMA support without CdmaSuppConnTracker There are corresponding changes to hardware/ril and packages/apps/Phone that are required to go with these changes.
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|
105925376f8d0f6b318c9938c7b83ef7fef094da |
|
19-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake_rel/...@140373
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfo.java
|