From 26e8a3e31a8caf5daf303ce2f31e72a11236444f Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Fri, 14 Nov 2014 15:47:39 -0800 Subject: Remove call to deleted method AsyncTask.init(). Bug: 18192406 Change-Id: I94df77ad8aaac8da5583ab80572c0bbd120b980e --- .../android/dialer/interactions/PhoneNumberInteractionTest.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/src/com/android/dialer/interactions/PhoneNumberInteractionTest.java b/tests/src/com/android/dialer/interactions/PhoneNumberInteractionTest.java index 6671022ba..8d5b53eb2 100644 --- a/tests/src/com/android/dialer/interactions/PhoneNumberInteractionTest.java +++ b/tests/src/com/android/dialer/interactions/PhoneNumberInteractionTest.java @@ -21,7 +21,6 @@ import android.content.Context; import android.content.DialogInterface.OnDismissListener; import android.content.Intent; import android.net.Uri; -import android.os.AsyncTask; import android.provider.ContactsContract.CommonDataKinds.Phone; import android.provider.ContactsContract.CommonDataKinds.SipAddress; import android.provider.ContactsContract.Contacts; @@ -48,12 +47,6 @@ import java.util.List; */ @SmallTest public class PhoneNumberInteractionTest extends InstrumentationTestCase { - - static { - // AsyncTask class needs to be initialized on the main thread. - AsyncTask.init(); - } - private final static class TestPhoneNumberInteraction extends PhoneNumberInteraction { private ArrayList mPhoneList; -- cgit v1.2.3