History log of /packages/apps/Dialer/tests/src/com/android/dialer/CallDetailActivityTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
28c6937b9306da056338b4dfc6f41fe64fe550a6 05-Nov-2015 Yorke Lee <yorkelee@google.com> Temporarily supress flaky Tests

Temporarily stop running tests that rely on a
FakeAsyncTaskExecutor.

Change-Id: I5b16ab5a531b9861dec33e287c0d373fb55ba7b3
/packages/apps/Dialer/tests/src/com/android/dialer/CallDetailActivityTest.java
bf9cca2ee005acd384ae25b80c3945a5fd1d5f20 05-Oct-2015 Andrew Lee <anwlee@google.com> Add footer actions to Call Details.

Some of these are moved down from the overflow. Others are added
from the list of those shown after a call log list item long press.

This hooks up the block/unblock functionality, although there is
still polish (eg. icons) and cleanup (some noted as TODOs), to
complete still.

Bug: 24109819
Change-Id: I129f5b09ac1c5edb66ab5bd91a46b18961240fb5
/packages/apps/Dialer/tests/src/com/android/dialer/CallDetailActivityTest.java
7b127d43de0de29c27a9db19f0a7e792ac678c05 01-Oct-2015 Andrew Lee <anwlee@google.com> Prepatory CallDetailActivity tweaks.

Incremental CL in changing actions/layout of CallDetailActivity to
move actions such as Block/Edit/Copy out of the overflow menu.

+ Make header at top of Call Detail Activity smaller.
+ Move delete options into actionbar button.
- Delete call list header in CallDetailActivity.

Bug: 24109819
Change-Id: If75f016e14de9e2c5ac8629c4bfa38e2380ce48b
/packages/apps/Dialer/tests/src/com/android/dialer/CallDetailActivityTest.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/CallDetailActivityTest.java
393b68131d1439b2e0cb7d55cf3b897aa0f46def 02-Sep-2015 Andrew Lee <anwlee@google.com> Fix CallDetailActivityTest.

Use PopupMenu to get a Menu instance, instead of using an internal
MenuBuilder.

Bug: 23640774
Change-Id: I356eba8a646ca1d09e6bca0887cfc03adf12782b
/packages/apps/Dialer/tests/src/com/android/dialer/CallDetailActivityTest.java
16b68491261362737752e6babc95f89e2b468f49 28-Aug-2015 Jay Shrauner <shrauner@google.com> Unbundled build fixes for tests

Build tests against current SDK. Use android-support-test instead of
android.test.runner. Temporarily disable ContextMenuBuilder tests.
Use internal copy of LaunchPerformanceBase. Use reflection to call
CursorLoader.waitForLoader. Make local copy of
android.provider.CallLog.addCall.

Bug:23642167
Change-Id: I6b5901f60cd28cdee4857d9e66696a5c66efcd20
(cherry picked from commit 81b66b8ef878e6209e6f7dfc011e41fe806ec099)
/packages/apps/Dialer/tests/src/com/android/dialer/CallDetailActivityTest.java
6a86690a2ad8f6c5068d901e6cbc368598e13ddc 09-Jun-2015 Andrew Lee <anwlee@google.com> Fix some more unit tests...

+ Pull out voicemail playback tests into their own test class.
+ Fix CallDetailActivity unit tests.
+ Some minor tweaks to functional code to facilitate.

Bug: 21471763
Change-Id: I0f1747ab7ad6eba7dd2a7f6f8cfd060b409771bc
/packages/apps/Dialer/tests/src/com/android/dialer/CallDetailActivityTest.java
42be85d8a976c049ea237a48a35beada80638b85 29-May-2015 Andrew Lee <anwlee@google.com> Fix CallDetailActivity tests.

+ Reset the AsyncTaskExecutor's instance between calls in tests.
I don't know why this is necessary, but it fixes a class of problems
which were happening.

+ Don't try to release a media player if it has not been prepared.

+ Handle possible race conditions since MediaPlayer's async prepare
may be buffering or finished when a test assert is executed.

+ Add asset file no longer provided by variablespeed library.

- Cleanup some stream copy code.

Change-Id: I0ae5fde00514c6dcdb1e9c063435a13eed6e8528
/packages/apps/Dialer/tests/src/com/android/dialer/CallDetailActivityTest.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/tests/src/com/android/dialer/CallDetailActivityTest.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/tests/src/com/android/dialer/CallDetailActivityTest.java
c2289b3d15b93397bde2c9e6a35a995dea191fdb 15-May-2015 Andrew Lee <anwlee@google.com> Change VM playback fragment layout.

- Remove increase/decrease playback rate functionality.
- Flip button controls below the scrubber.
- Delete TextController.

Bug: 20433758
Change-Id: Id628bac0c9f8baed014079f2a89ce912fd2bb549
/packages/apps/Dialer/tests/src/com/android/dialer/CallDetailActivityTest.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/CallDetailActivityTest.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/tests/src/com/android/dialer/CallDetailActivityTest.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/CallDetailActivityTest.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/tests/src/com/android/dialer/CallDetailActivityTest.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/CallDetailActivityTest.java