summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2014-11-14 15:47:39 -0800
committerJeff Brown <jeffbrown@google.com>2014-11-14 17:22:32 -0800
commit26e8a3e31a8caf5daf303ce2f31e72a11236444f (patch)
treeeec2fb53c614f6b9ecb4df06f66362c9d40b50e3 /tests
parentd2575cb1f3daa4145478b4778318f67f9d0ccb27 (diff)
downloadandroid_packages_apps_Dialer-26e8a3e31a8caf5daf303ce2f31e72a11236444f.tar.gz
android_packages_apps_Dialer-26e8a3e31a8caf5daf303ce2f31e72a11236444f.tar.bz2
android_packages_apps_Dialer-26e8a3e31a8caf5daf303ce2f31e72a11236444f.zip
Remove call to deleted method AsyncTask.init().
Bug: 18192406 Change-Id: I94df77ad8aaac8da5583ab80572c0bbd120b980e
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/dialer/interactions/PhoneNumberInteractionTest.java7
1 files changed, 0 insertions, 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<PhoneItem> mPhoneList;