History log of /packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a46ed83a7ccba16bbfd791a3a6588d5f0add9526 31-Mar-2016 Brad Ebinger <breadley@google.com> Add via number to CallLog Account entry

Call Log now provides the phone number that an incoming call was
received on if that number is different than the SIM subscription
number. This "via number" is appended to the Phone Account of the Call
Log entry in Dialer if it exists.

Screenshots:
- One PhoneAccount: http://screen/HuCSL0U6jU6.png
- Multiple PhoneAccounts: http://screen/pDg8F9zpMei.png

Bug: 25594198
Change-Id: I8c05ea98409e54d20493fbdb20096bf851480719
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
fdb93b7079d522d688ec0ebe58c92d45aee48786 22-Dec-2015 Nancy Chen <nancychen@google.com> Make TelecomManager APIs compatible with Lollipop. (1/3)

+ Add methods to TelecomManagerCompat
- Move TelecomManagerCompat to ContactsCommon because it is called
within ContactsCommon
- Move TestTelecomCallLogCache to the right package so tests pass

Bug: 25776171

Change-Id: I1963959292d8038ab505488d831afd06e6fef6d0
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
35e44d4b757427a240e8764467bdd220e2124473 15-Oct-2015 Hall Liu <hallliu@google.com> Added support for displaying/redialing post-dial

Append dialed post-dial digits(if any exist) to the displayed number
and changes the intent sent by the redial button to include the
post-dial digits.

Bug: 24955678
Change-Id: I0ec2cb2d5504f7fd715132eba7d969ff284e23d1
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
9e40502d2b5685b6996ecee7b3b3c812d5b06ec8 24-Oct-2015 Nancy Chen <nancychen@google.com> Fix voicemail tab items reading "speed dial" when selected.

The voicemail entries were reading "speed dial" because the focus would go
to the newly added "speed dial" tab since the tabs are all removed and
readded when the tab info changes. Change the logic so that only the
voicemail tab is changed when needed.
The voicemail entry reads "seek playback" instead of the information
about the voicemail because of custom expand logic for accessibilty.
Change it so that only the call log items are expanded when selected
(it is more important to be able to discover the overflow options).
Also change content description text because it was too long and confusing.

Bug: 25124120
Change-Id: I64c1b27d8c0db57525f7f4ada59655e9f8352245
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
e1071ace724a561dc3738b48a2d3d233aea4ff53 20-Oct-2015 Yorke Lee <yorkelee@google.com> Update Dialer tests

* Update all tests with @SmallTest, @MediumTest or @LargeTest
annotation to ensure coverage by continuous test infrastructure
* Fix one failing test

Change-Id: Ib878a3fe292916e21a465580a74319e807e7efe0
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
838988bf34229b33ed39bb7dc7109427da264c81 26-Sep-2015 Andrew Lee <anwlee@google.com> Add BLOCKED call type and util to mark in call log.

To support call blocking, added BLOCKED call type.

Also added utility to be able to mark the most recent call from a
number as BLOCKEd in the call log database.

Added REJECTED call type as well. This is not presently used within
our application, but we want to reserve the integer, anticipating
changes in the framework to add this constant.

Introduced AppCompConstants, because BLOCKED and REJECTED call type
values will not be defined as part of the API on M devices. Change
existing call type constants to reference this compatability class.

Bug: 24341350
Change-Id: I523ebd8dd1844a3b71a69a14bd38073be5940804
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.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/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
b0b57a10fbb9bec5c80d7adad8f65750a2f96e1b 13-Jun-2015 Andrew Lee <anwlee@google.com> Convert to primary action button on call log items.

+ This is the call button on the standard call log list item, but
will be play on voicemail call log list items.
+ Add call "list" action for voicemail call log list items.

Change-Id: I4b115b96738b77c8a19c1071d5290e65f93395ac
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
edb22da2b40549631a08150cbfc205e6ad243c20 10-Jun-2015 Andrew Lee <anwlee@google.com> Change PhoneCallDetail fields to be non-final.

It's been a pain to add/change fields on PhoneCallDetails because
a multitude of parameters required for the constructors to create
an instance. I ran into this while considering how to add an
objectId to its parameters, and have previously too...

Make fields non-final so that they are more easily set. This has
the side-effect of making the casing of some initialization code
more straightforward.

+ Change it's constructor to a subset of required fields.
+ Simplify/reorganize CallLogAdapter and CallLogAsyncTaskUtil code.
+ Simplify tests.

Bug: 21733599
Change-Id: I236dfb0b8e6513f4b44dbdae17ce2eb9c9ae4778
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.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/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.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/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
c1b7d0ae8cdfc0f0dddb5c2bb45c8239ffc6a264 16-Apr-2015 Andrew Lee <anwlee@google.com> Move call log actions into expandable view.

This isn't the prettiest thing ever, but with this the "framework" of
all of the changes for the new visual style of the call logs is in
place. From here on out, the remainder of tasks should be unblocked
and relatively independent.

+ Rename ...ItemViews to ...ItemViewHolder. This probably wasn't
completely necessary, but is more proper given the new architecture.

+ ViewHolder is now officially where most of the independent UI logic
for a single call log list item should live. This changelist moves
further in that direction by storing references and helpers in it, to
lessen what must be passed in from the adapter.

+ Split out the call action from the rest of the actions, since it
has a special treatment on the card.

+ Convert text action buttons into a vertical stack.

+ Consolidate action stylings into a single style, for simplicity.

+ Miscellaneous style and string changes to put things in a better
state. This included tweaking some of the (ripple) backgrounds.

+ Update tests, according to changes.

Bug: 19372817
Change-Id: Ic923c0bcbbc1c153952131d0c772df9e9589fb03
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
7026b17269d014e7b4146446c139f63e15de7a33 28-Oct-2014 Yorke Lee <yorkelee@google.com> More test-related changes

Fix failure in CallLogListItemHelper#testGetCallDescription_Video
Add some documentation to CallDetailActivityTest

Bug: 17487016

Change-Id: I31594feccb936500b20e13f3db5c68cbe5435c6e
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.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/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
0927dc6ef623bec56415d087885f6d2607da35f7 21-Aug-2014 Andrew Lee <anwlee@google.com> Pass application context into isVideoEnabled usages.

Bug: 16211386
Change-Id: I0bda040bd6cd5c55ee7c708044befaad8977d460
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
c2756debb05846b1be1d77ebfb8650dcea9f1c9c 07-Aug-2014 Tyler Gunn <tgunn@google.com> Fix video description CallLogListItemHelper unit test.

Method signatures have changed for PhoneCallDetails and at some point the
wrong method call was made.

Bug: 16540503
Change-Id: Ie17facaa26aa6ebbb12a43b04d5ea4994b865a1f
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.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/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
5619f2ed87cb207352c0ff5578348baeb69ee202 15-Jul-2014 Tyler Gunn <tgunn@google.com> Various call log / call details video call changes.
Requires cl/501841.

Call log:
1. Add video call affordance.
2. Add accessibility text for calls, video call afforance.
3. Fixed unit test

Call details:
1. Showing video icon when a call had video.
2. Changing call headings to indicate they were video calls.

Bug: 16013879
Bug: 16013344
Bug: 16013684
Change-Id: I53b5bf9b0b1a63f9d119318d59f690d310cca7c8
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.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/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.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/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
d0715acdfc1aee0c20950741dc15d30abd18d2f2 12-May-2014 Tyler Gunn <tgunn@google.com> Removing highlighting of missed calls and voicemails in the call log.
Also fixing some broken unit tests.

Bug: 13962594
Change-Id: I3ca2d72b3013b6324da19717dbc984f3e7e576e2
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
146a4cdf57f0d4d0cd85e808f1df2bdea639b24c 06-May-2014 Tyler Gunn <tgunn@google.com> Adding support for expandable call log entries.

Bug: 13962594
Change-Id: I19a4a65dce922619df0a709293ca291c345c8be7
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
45ed3b5932ed590b45235d7b2befa736a95e7f75 03-Feb-2014 Tyler Gunn <tgunn@google.com> Call History Affordances Swap

1. Swapped the intents for the primary view
2. Changed the icon for the secondary action button
3. Added a vertical divider line to separate the secondary action button from the primary view
4. Cleaned up the accessibility text

Change-Id: Ifd4ceff0d67b1587c4378e29be7344de50057a7d
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
3671725b58a9768016e141c77424dedb5fd2c55a 21-Nov-2013 Yorke Lee <yorkelee@google.com> Fix Dialer tests

* Empty geocode is now " " instead of "-" per UX request
* DialpadFragment now throws IllegalArgumentException instead
of Log.wtf so that it can be tested
* Added contact id column to contactsprovider query
* Modified PhoneNumberDisplayHelper to take an instance of
PhoneNumberUtilsWrapper so that it can be mocked out
Fix label-related tests that were failing due to a change in how we
treat empty labels

Bug: 9111164

Change-Id: If2244586b9d09fa2839fa0ddfc9f369f9dc66e51
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.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/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.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/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
7030a12a15e565521ffb220c00a0251e47bd3a93 14-Aug-2013 Christine Chen <christinech@google.com> Change primary actions of the CallLog items.

- When the CallLog item is in the CallLog fragment, the primary action
remains to be opening the call detail page.
- When the CallLog item is in the Favorite fragment, the primary action
changes to be calling the number directly. The secondary action is
hidden unless it is to play a voicemail.

Bug: 10308694
Change-Id: I28ca7aa783bcca35eb8b41f6e8508d08062dd253
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java
fb585079cc4c522c27f6dd6bf03fd296535960f3 04-Aug-2013 Yorke Lee <yorkelee@google.com> Code cleanup for call log related items

Change-Id: I2aa0458e1fb74abaea60a02f430a4e413dfed365
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.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/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.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/tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java