From 7c461dc3809ce0d4d969a7c9b6406a1c6e4a1495 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 15 May 2015 10:18:45 -0700 Subject: 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 --- tests/src/com/android/dialer/CallDetailActivityTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/src/com/android/dialer') diff --git a/tests/src/com/android/dialer/CallDetailActivityTest.java b/tests/src/com/android/dialer/CallDetailActivityTest.java index 15e90fcf6..aca8f2985 100644 --- a/tests/src/com/android/dialer/CallDetailActivityTest.java +++ b/tests/src/com/android/dialer/CallDetailActivityTest.java @@ -16,7 +16,7 @@ package com.android.dialer; -import static com.android.dialer.CallDetailActivity.Tasks.UPDATE_PHONE_CALL_DETAILS; +import static com.android.dialer.calllog.CallLogAsyncTaskUtil.Tasks.GET_CALL_DETAILS; import static com.android.dialer.voicemail.VoicemailPlaybackPresenter.Tasks.CHECK_FOR_CONTENT; import static com.android.dialer.voicemail.VoicemailPlaybackPresenter.Tasks.PREPARE_MEDIA_PLAYER; @@ -303,7 +303,7 @@ public class CallDetailActivityTest extends ActivityInstrumentationTestCase2