History log of /packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a79ecc9a0d0f4e3df44b437477985eb07b97711f 13-Jul-2015 Yorke Lee <yorkelee@google.com> Don't cache results of permission check

For maximum safety, always check the current permission status
on the fly.

Bug: 22455059
Change-Id: I05da7ec1ad2e885e3e5e78e14585c876ac19178e
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
2a613022dbb278f0f7dd94cf49885cde9d36100c 01-Jul-2015 Yorke Lee <yorkelee@google.com> Restore Dialer content after permissions granted

First pass at making Dialer display the call log, favorites,
all contacts, and contact search after permissions are granted
withut having to restart the app.

Update cached permission status in onResume for Dialer activities
Update SpeedDialFragment to correctly initialize loader in
onResume if it was null previously because of revoked permission.

Bug: 22205650

Change-Id: I68982e69395bc9c7da84ff3221cd12b8f79005f9
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
d3f6a6c56dec7d47bae1121ed1030f67c26736fe 26-Jun-2015 Andrew Lee <anwlee@google.com> Cache repeated Telecom requests from call log.

This improves call log scrolling performance.

+ Split "Wrapper" into a utility and a cache.
+ Use cache for repeated calls related to call logs.
+ In the process of fixing plumbing and typer, moved some phone call
detail classes into the more appropriate call log package.
+ Update tests.

Bug: 20524705
Change-Id: Ib8ee21e417c19f98f6474a5793416e8f99103b55
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
2f05af35af03de67c1c474cd148719b24fac3552 10-Jun-2015 Andrew Lee <anwlee@google.com> Move "Report" to CallDetailActivity.

- Delete old report button/handling code.
+ Convert menu click listeners into single onMenuItemClick method.
+ Add and populate objectId on PhoneCallDetails, to be able to
tell from the CallDetailActivity whether to enable reporting.

Change-Id: Ie4b9a3c1835792cbba04dc826f71fd2e53071400
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
fb5dc5ec02f304a75d679cf0da34032ed12660de 08-Jun-2015 Andrew Lee <anwlee@google.com> Get rid of some now-unused VM code.

Bug: 21471763
Change-Id: Ie28dc2715a173179ed753a7e38bd252c01e78f46
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
e177fe610d3f9725d6b7c66bfe25823efcd15fe6 05-Jun-2015 Andrew Lee <anwlee@google.com> Add call button to details, increase hit area.

+ Add call back button in call details.
+ Increase touch target size of call back button.
+ Simplify tint styling and layouts.
- Delete asset which was duplicate of one in ContactsCommon.

Bug: 18331084
Bug: 21659613
Change-Id: Icbd5f66a294f1215dc2056e7f7aece2129af5630
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
267e9ebd056ec4973c4b37c38f949e863de4f24c 03-Jun-2015 Andrew Lee <anwlee@google.com> Move VM playback from details to call log.

- Delete voicemail playback in the CallDetailActivity.
+ Add voicemail playback to the call log list items.
+ Move the VoicemailPlaybackPresenter to the CallLogFragment.
+ Fix some retaining state for both call log (expanded items), and
preserve rotation/state functionality for voicemail playback. This
included some changes to the Presenter logic.
+ Fix some tests.

Bug: 21471763
Bug: 21170557
Change-Id: I30aae3a52c5bbf74a5075a9666343c337b1fc0df
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
b20213ee0e647efbc75d4546b837104b5657dff5 01-Jun-2015 Andrew Lee <anwlee@google.com> Continue voicemail playback during rotation.

Don't pause playback or release the media player during onPause or
onDestroy.

Bug: 21235334
Change-Id: I0eccd4e38e89c3416817d80aa25cc3bb529a9d6b
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
58eaabcc31e23fd4c071ad911b96da6eea4abc28 27-May-2015 Andrew Lee <anwlee@google.com> Refactor Voicemail Playback into standalone view.

+ Substitutes the existing playback widget in CallDetailActivity,
although the plan is to move this to the call log shortly.
+ Convert the widget from a fragment into a layout. This allows us
to more easily create multiple instances of the voicemail widget in
the same view, as we intend to do in the call log.
+ Shift UI-related logic from Presenter to the Layout.
+ Fix janky seeking, so that it now works correctly consistently
rather than sporadically, and doesn't need to buffer again.
- Remove the VariableSpeed player formerly used in the Presenter. We
don't use this functionality anymore, and this allows us to directly
used the framework MediaPlayer (instead of a custom legacy proxy).

Bug: 21170557
Bug: 20693172
Change-Id: Ia34f459df10e43763b32fdb0954f83e882664231
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
50dfa5e6b49c72ca3a10b38207d04f233ec1a2e3 21-May-2015 Andrew Lee <anwlee@google.com> Add voicemail tab if there are active providers.

Bug: 21328994
Change-Id: Id6cd45c5614fafcc6f01842a8ec1eaba45dc0928
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
7c461dc3809ce0d4d969a7c9b6406a1c6e4a1495 15-May-2015 Andrew Lee <anwlee@google.com> Add AsyncTaskUtil for call log actions.

+ Factors out async tasks from Call Detail activity, so that in the
near future it can be invoked from the call log directly.
+ Create listener interfaces for actions to execute after tasks have
been completed.
+ Should have no logical/behavioral changes.

Hopefully, this creates a more opaque interface for activities or
other classes to perform these actions as well.

Bug: 21170557
Change-Id: I43aea7e37600d3978e285f047cba7ce75ebb5787
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
49efd91e50a11dc7bdef8382a0ceac01bc060f77 19-May-2015 Andrew Lee <anwlee@google.com> Performance improvements to call log scrolling.

- Remove call to CallUtil to check if video is enabled. It seems
like it's fine to include the content description of what the
call was, if it was a video call, even if there is not a
video-enabled call account.

- Factor out PhoneNumberDisplayHelper so it doesn't need to be
an instance. This reduces some extra calls to getDisplayNameHelper.
Probably a marginal difference, performance-wise, but it probably
helps a smidgen and also simplifies the need for creating and
passing or recalculating various instances of things.

TODO: It'd be much better if PhoneCallDetails had a builder.
It's terribly painful to fix all the tests when adding fields...

Change-Id: I6da13dc8b6b047043aba871796a8ed13b112a227
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
c1167e9a05c0578d483d7cd87302a8746e714df0 18-May-2015 Andrew Lee <anwlee@google.com> Remove voicemail transcript from details.

It will continue to be shown in the call log, but will be removed
from details since the widget will be moved.

Bug: 21170557
Change-Id: I1ec3b090adc0736f7b134d0f67282ba7b4f9483b
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
2b63359e974a2a67b68ea75d4a44a64e0dadbcfe 14-May-2015 Andrew Lee <anwlee@google.com> Delete unused code in CallDetailActivity.

- I don't know of any affordances in call detail to make a call,
so the onKeyDown code seems to be superfluous.
- No references to ViewEntry or forceLeftToRight.

Bug: 20433758
Change-Id: Idbf6ffb81d3697b27cb51eda346b46eb5d083878
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
6ed11569195e1a267aacd14b5464f73f3578f738 15-May-2015 Andrew Lee <anwlee@google.com> Remove VM StatusMessage code from Call Details.

This isn't used in any particular case right now.
Remove some unused layouts too.

Bug: 21170557
Change-Id: Ie21264d7059e73c905b2807b993b95c91a0dd3ec
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
a812d28bfdac171e726d6b865e7ea5cfda24d924 14-May-2015 Andrew Lee <anwlee@google.com> Merge "Move proximity sensor logic into VM fragment." into mnc-dev
93b816f753b67157f14a8389dc63f32cff40c8d4 13-May-2015 Andrew Lee <anwlee@google.com> Move proximity sensor logic into VM fragment.

In preparation for moving it from the CallDetailActivity into
the call log. Seems to make sense to consolidate this within the
fragment in any case.

Bug: 20433758
Change-Id: I1aa0cd9a766fac3e1eb9285d31df5ed90523b8ad
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
247df6ee4f43af916f7e7f339ed181a18807ef36 13-May-2015 Andrew Lee <anwlee@google.com> Reorganize Intent utilities, add send SMS intent.

+ Rename CallIntentUtils.java to IntentUtil.java.
+ Consolidate various intent creation methods to new file, and update
referenes throughout the application.

Bug: 20433758
Change-Id: Iee9e37985217c38c816124d0e74dff40a2871680
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
4aece9536ed64da965fd42da07a393f935abd6b1 03-May-2015 Yorke Lee <yorkelee@google.com> Dynamically check for permission denials

Don't crash when performing certain operations that the
dialer might not have permissions to execute:

* Access voicemail provider
* Certain TelecomManager methods

Add a class TelecomUtil that checks for permissions/default
dialer status, and handles the privileged operations
appropriately.

Bug: 20266292

Change-Id: Ibe8a85440b9ca20169b5ce3be24d1a385caaebb6
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
f153bf42918a16e010f0d756c8ee6434440dc3ea 07-May-2015 Nancy Chen <nancychen@google.com> Mark voicemails as old after they are read.

Currently when voicemails are marked as read, they are not also marked
as old ("new" set to 0). This means that when the phone is restarted,
the voicemails come back in the notifications bar even if they have been
read.
Also ensure the voicemail notification is dismissed when the
"play" button is pressed. Currently the voicemail is marked as old, but
the notifications are not immediately updated so there's no instant
feedback.
I split the markNewVoicemailsAsOld method from CallLogQueryHandler out
into a separate handler (VoicemailQueryHandler) because the
markNewVoicemailsAsOld method did not share any notable logic with
CallLogQueryHandler and would otherwise require creating two extra
constructors.

Bug: 20117483
Change-Id: I0f475e1a1489f1b45c8654f5ca882ccd857466e8
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
b82e8dae149a9f247e5c9fcae02ced460670b0e7 18-Apr-2015 Yorke Lee <yorkelee@google.com> Use TelecomManager.placeCall API

Bug: 20348183
Change-Id: If1b193f933b4a7b2b322784b0cbbc66c210b25df
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
164d9d5cd6d6e723b1af9a565f588cc1b5b09c6c 10-Mar-2015 Nancy Chen <nancychen@google.com> Fix NPE in call detail activity for voicemails.

Because the call detail activity is being used for playing voicemails,
this happens when playing voicemails but not looking at more details for
a non-voicemail call because the "details" option is not available for
non-voicemail entries. If the voicemail comes from an unknown number,
the activity attempts to get the number and convert it to a string for
use in intents within the call details activity, but since the number
does not exist, the app crashes instead.

Bug: 19627341
Change-Id: I5302527c1c51c620a66ead85984b2e2399839086
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
0531a915a1078b67f9ceec7db9910a9f7f54f94b 26-Feb-2015 Yorke Lee <yorkelee@google.com> Merge "Use new PowerManager API to implement voicemail proximity"
7151398929e487f7f74b285f3e4c478f95daa7c6 26-Feb-2015 Yorke Lee <yorkelee@google.com> Use new PowerManager API to implement voicemail proximity

This allows us to fully blank out the screen instead of faking
a black screen leaving the nav bar and notification bar active.

Bug: 11734938
Change-Id: I716642fa7f85776d1701d3b95736065dec4d2eac
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
74eb4ecc5df272f681b427760d46deafce8ed0b2 26-Feb-2015 Brian Attwell <brianattwell@google.com> QuickContacts can prioritize phone mimetype. Part2

Whenever using QuickContacts in Dialer, make sure to
prioritize the phone mimetype.

Bug: 18391003
Change-Id: Ie5a93ad9e1919f470a638d4235d91fe337cb5ca3
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
8204324a69c4d6b1b95351ab2863b5ddac6fb0a5 03-Feb-2015 Brian Attwell <brianattwell@google.com> Move CallUtil into Dialer. P1/3

CallUtil relies on the a priviliged intent that should only
be used by system apps. Therefore, it shouldn't be used by an
unbundled Contacts app.

I'm leaving one (isVideoEnabled) method from CallUtil inside
ContactsCommon. This way, when the changes that Tyler made
inside m-wireless-telephony-shamu-dev (b/19062133) get
merged back into master both ContactsCommon and Dialer
will be updated.

Bug: 18777272
Change-Id: I49c9cc714ded01d523ed770a5bf62cf92c378e2f
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
beab3bbc2c977a48e3affc3e61cc2fdbb22c4ae2 27-Oct-2014 Brian Attwell <brianattwell@google.com> Use improved analytics in Dialer

Remove dependencies on old analytics code.
Initialize analytics inside DialerApplication.

Improving analytics CL #4/4

Bug: 18039620
Change-Id: I52f68e50297db2aae61d67d9bdbe66cb1d75aafc
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
c311af1f33f9d408c7eee5a6eeda46f1d1b7265b 23-Oct-2014 Brian Attwell <brianattwell@google.com> Delete duplicated class

Also renamed dialerbind package

Analytics CL #2/5

Bug: 18039620
Change-Id: I45722015978038cdccb6a848c28e4b6c90d5aa4f
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
e80d62229bb11a92f0db8d4e4bac6533bbed9b66 09-Oct-2014 Nancy Chen <nancychen@google.com> Enable use of phone accounts for voicemail info display.

Call the "isVoicemailNumber(subId, number)" method instead
of the one with just the number. This is because we need to check
whether a number is the voicemail number for a specific phone account,
otherwise the UI would never correctly display "voicemail" for the
non-default SIM.

Bug:17925501
Change-Id: If1d6cb1acfcb570aca5e639858af8804bac202c0
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
99e8adb92ce3dce67a6e3456de37dded27873c5e 02-Oct-2014 Andrew Lee <anwlee@google.com> Fix RTL issues in Dialer.

+ Force LTR if textviews show numbers.
+ Change history header with to match_parent so it aligns tor the
right properly. Before, it was on the left, even in RTL languages.

Bug: 17776561
Change-Id: I53907496fe4e7a12f8962d4bc7295ed7a294c6e5
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
9dc924c8bcc0bc8d996452e9ce3215b5f064962e 12-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I44d6d6546cac53232e4e2be0ebe0391d02411309
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
ae274c05cdb6707ca9593bedf20c016cd8164c0b 06-Sep-2014 Jay Shrauner <shrauner@google.com> Use framework scheme definitions

Use PhoneAccount defined values for SCHEME_{TEL, SIP, VOICEMAIL}.

Bug:17398074
Change-Id: I77dfa539646b9c5ae5dca220bbc906048a17b383
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
257b6f27744dc528da719beb1a6d29cd9f72ea31 31-Jul-2014 Yorke Lee <yorkelee@google.com> Allow voicemail playback view to scroll

Add the voicemail-related views into the ListView's header view
so that it can scroll.
Also refactored some layouts so that we only inflate the voicemail
views if hasVoicemail() is true

Bug: 16518757
Change-Id: I17fb303efa96c28c6b97e5cfbf5d8b1ef6a0159c
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
7fa029f77d97aaa7227d961354f9a2e32dd63a95 30-Jul-2014 Sai Cheemalapati <saicheems@google.com> Changing Activities to implement Analytics (1/2).

Dialer's Activities now implement AnalyticsActivity.
All Activities now have access to sendHitEvent, which is a no op in
AOSP Dialer.

Change-Id: I318f08bfaf98cb88f9dbf6e4f28994b215bafa77
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
1970263aad3e26c0e36dbe3783bef5d9f0ff29f0 25-Jul-2014 Nancy Chen <nancychen@google.com> Add account label to call details if appropriate

We will be adding the account label field to call details if there is
more than one account to disambiguate. Otherwise this field will be
hidden.

Bug: 16488229

Change-Id: Idb03d09d63372655504a5f9178e6f2e408aefb88
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
8cd9423bd04584acbcbf178bf6a1c1953debb8da 23-Jul-2014 Yorke Lee <yorkelee@google.com> Add voicemail transcriptions to Dialer

* Display voicemail transcriptions in the call log and call details
activity in the Dialer
* Fix a bug in CallDetailActivity that would result in multiple instances of VoicemailPlaybackFragment being added on rotation. Now, reuse the same fragment
if it is already present in the FragmentManager, to avoid creating new ones
* Simplify some test and ctor logic in PhoneCallDetails to reduce the pain
of adding new fields into PhoneCallDetails
* Simplified playback_layout.xml to remove unnecessary parent LinearLayouts

Bug: 16320164

Change-Id: Ie68acc9058aace49d8e64f44a0128de0b6a3f842
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
b2eebafbc1f1e26b5178b2858ca335467b4bc341 21-Jul-2014 Nancy Chen <nancychen@google.com> Enable icon selection in call log

Originally the call log was not hooked up with the PhoneAccount API,
this change hooks that part up.

Bug: 15473965

Change-Id: I96bdde927473abcdf7493573be29bf4979cf2696
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
8b0e858d5b4c50813dbe2b5c244e7013814b23ec 10-Jul-2014 Tyler Gunn <tgunn@google.com> Adding support for video call icon and data usage in call log.

Bug: 16013684
Bug: 16015261
Change-Id: Ie75443d641c1e09a5772bb618aba55de8583716b
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
c8daf202d6a3284b3ccb58efa7e4e67f6ac9343f 02-Jul-2014 Ihab Awad <ihab@google.com> Fix references to two constants

The names of two constants missed getting updated in a previous CL,
causing a build breakage.

Change-Id: I91a9cb8c24b6487e0d6e38d42ab20cc673c81a32
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
1d1bd0da0b32a5b8cb1c7c5585acccb180b19849 01-Jul-2014 Ihab Awad <ihab@google.com> Rename Telecomm "Subscription" to "Account" (3/7)

Change-Id: I866e9d4f629a2b23acb3d3d3f2baeb0a674522f7
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
87ba489564b25d4a64c9faaeafea46e2f72d8933 12-Jun-2014 Nancy Chen <nancychen@google.com> Add icon indicating subscription in call log/call history

Display an icon in the call details showing which connection provider
(subscription) is responsible for the call.

Bug: 15473965

Change-Id: I0c6755864083799b8bafe20c3692b0d943beeee3
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
18164c85000ad4049b787051b3ab472d2901c586 09-Jun-2014 Tyler Gunn <tgunn@google.com> Applying call details red-lines.

- Contact photo is now quick-contact which invokes quick-contact view.
- Removed send MS and call affordances, along with scrolling effect.
- Added missing accessibility strings to voicemail controls.

Bug: 15328410
Change-Id: I6d78d582af8c3a5cea8e051911cf3be763df2a36
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
757bdd39b79c38f1f7713aa16db95d8a8f5dc6da 28-May-2014 Jay Shrauner <shrauner@google.com> Fix NPE in getCallLogEntryUris

Detect when the ids array (EXTRA_CALL_LOG_IDS) is not present.

Bug:15308670
Change-Id: Ibd0d025f1d160942fa5a61e210f5057d7f31b54d
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
cb481aa46e012d1f9f147919b346fbfb16624dab 29-Apr-2014 Yorke Lee <yorkelee@google.com> Use circular support in ContactPhotoManager

Bug: 13747208

Change-Id: I39932fc22ab13317430c13034c4c4c2725662999
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
3921359f3f01938768f0b0e731941542f0385787 08-Apr-2014 Yorke Lee <yorkelee@google.com> Catch activity not found exceptions

Instead of crashing when an ActivityNotFoundException is thrown,
display an error toast.

Bug: 13882939
Change-Id: I5cda14ba8a404ff0f5196fdbc382201c47f4b4c8
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.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/CallDetailActivity.java
7d67c9b12eb80f707e1f3578104b3dbf0a75c88a 05-Dec-2013 Yorke Lee <yorkelee@google.com> Catch ActivityNotFoundException in CallDetailActivity

Bug: 12015287
Change-Id: I23b167e22d0da7f9be98b49e120b5b8ac1700e9a
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
37d29854313ca0a7807ac4fd5d10d154b79ee2eb 19-Nov-2013 Yorke Lee <yorkelee@google.com> Remove private references to isUriNumber and getUsernameFromUriNumber

These methods in PhoneNumberUtils are pretty specific, so don't make them
public APIs. Instead, use the methods already in PhoneNumberhelper.

Bug: 6948882
Change-Id: I487593543eba526c64588d9a3e70b19b4ed941ab
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
24ec319f8d410be8a1923c4033f927165876cbab 19-Nov-2013 Yorke Lee <yorkelee@google.com> Rename PhoneNumberHelper in Dialer

Rename PhoneNumberHelper to more appropriate PhoneNumberDisplayHelper

Change-Id: I2c03f5cbb04c1e03f1fc1e0051a1cea641160dca
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
cce501cbde0ba0a53e1f458328bb96dff4dd6588 08-Nov-2013 Yorke Lee <yorkelee@google.com> Fix bug where resuming CallDetailActivity loses the add contact intent

getLoaderManager.initLoader() performs the onLoadFinish callback
immediately if CallDetailActivity is being resumed from a previously
paused state. This causes bindContactPhotoAction to be called
with a null intent later on causing the add contact button to be no
longer clickable.

To fix this, if we know that we will receive a loader call back
that correctly binds the intent later on (or immediately), we should
skip the initial bind.

Bug: 11588776
Change-Id: I9407a88ec8bbde303109eb14496e01cf6c347c8f
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
0345944a091ed83cdfdf9d0bde9d3505090f63bf 31-Oct-2013 Yorke Lee <yorkelee@google.com> Load contact in CallDetailActivity and add it to Add contact intent

Use a ContactLoader to load the contact data stored in the json-encoded
URI asynchronously, and prepopulate the add contact intent with the
contact data when the contact data is loaded.

This fixes the problem of contact details (i.e. name, photo, address)
not being pre-populated when adding a contact via a call log entry that
was created by calling a contact from nearby places search.

Bug: 11294679
Change-Id: I39a0d8ae40e80b350687a43be8ece6b32c88062a
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
adb742ca30da01a3f09be5551f0844f170eaa5d8 08-Oct-2013 Chiao Cheng <chiaocheng@google.com> Do not use implicit intent to up nav to call log.

Implemented according to developer docs:
http://developer.android.com/training/implementing-navigation/ancestral.html

Bug: 11116403
Change-Id: I02dd4900fbda921ddeaaa2a1ac8fa780152dc6ec
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
1a7c1963ba99548d15eb179beb4026b890d1fb62 21-Sep-2013 Yorke Lee <yorkelee@google.com> Fix for CallDetailsActivity always showing unknown numbers

Bug: 10860826
Change-Id: I62088ef0dedfbdad12ea33963bc66fe5feae0f98
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
fb0a934ad90f1855787563eb80f2c8fff7f640ac 14-Sep-2013 Chiao Cheng <chiaocheng@google.com> Follow up on build break to fix unit tests.

Change-Id: I82b7fa50601f6dad60038fd1b9c5f0aad2f374f5
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.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/CallDetailActivity.java
dc778c1a6fe5548f82dabfbf5945cc53437815e3 10-Sep-2013 Yorke Lee <yorkelee@google.com> Merge "Add URI for unknown contacts to enable quick contact badge" into klp-dev
58ebe5d3fac837625b69fe1565427f17025bd780 09-Sep-2013 Yorke Lee <yorkelee@google.com> Add URI for unknown contacts to enable quick contact badge

Bug: 10600250
Change-Id: I38dc59d3c6637593353601f03dbc067c36abdde7
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
ac09b51a171ab53c893b5facc6399c4b973a1d75 09-Sep-2013 Yorke Lee <yorkelee@google.com> Tweak CallDetailActivity redlines

Bug: 10546413
Change-Id: Iec92ca9cb0adaeaac475a9a9ef613fd516d9ddc6
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
aa536fd9b7a3b144aaa74aa50e88f3d05bde0dd1 29-Jul-2013 Yorke Lee <yorkelee@google.com> Redlines for CallDetailActivity (call history items and voicemails)

* Swapped out new assets
* Changed background colors as necessary
* Add padding view at bottom of seek container
* Changed color of drawables
* Removed unused assets

Change-Id: I654ba417e03b2a32039504ae2de51fd75c5bec20
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
719a7adde25e0a717816b00668c16c3a1e3c5518 31-May-2013 Jay Shrauner <shrauner@google.com> Use new CallLog number presentation column

Switch to using new number presentation column in the CallLog table and
discontinue using special phone number strings in CallerInfo. Needed for
unbundling.

Bug:6948882
Change-Id: Ibf27ea55cee783c4530101e4e228198e245e6684
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.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/CallDetailActivity.java
9554500572ba82fbd7adb0a1637206ef870ef09e 15-Oct-2012 Chiao Cheng <chiaocheng@google.com> Changing com.android.contacts.R to com.android.dialer.R.

Bug: 6993891
Change-Id: I921ec71fffbd4d4a058bab29ded8a6ac62adfb70
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
9d4f3b20793a007b4489547aa40fc1049d0d8fef 06-Sep-2012 Chiao Cheng <chiaocheng@google.com> Moving resources from Contacts to Dialer.

- Also moving some shared utilities.

Bug: 6993891
Change-Id: I5fa18d26e4f5423f4d3f3450b8f3e3dacbfb947a
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.java
91197049c458f07092b31501d2ed512180b13d58 24-Aug-2012 Chiao Cheng <chiaocheng@google.com> Moving more classes from contacts into dialer.

- These classes are only used by dialer code.
- Fixed import order.

Bug: 6993891
Change-Id: I7941a029989c4793b766fdc77a4666f9f99b750a
/packages/apps/Dialer/src/com/android/dialer/CallDetailActivity.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/CallDetailActivity.java