Fix MailTransport#open() behavior
Use designated network and create socket with hostname while using SSL
VVM.
VVM currently ignores designated network if SSL is activated. Although
all carriers supported now which requires designated network don't use
SSL, it might be a problem in the future.
SSL socket created without hostname caused NPE in b/26144676. The bug is
fixed on security side but it is still recommended to have the hostname
passed in.
+ Static Java Library mockito-target and class MockitoHelper for testing
Bug:26268339
Bug:26270166
Change-Id: If9c82381916393427e932cc28089e1efa1e3b040
diff --git a/tests/Android.mk b/tests/Android.mk
index a3a657b..6cc0355 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -27,4 +27,8 @@
LOCAL_INSTRUMENTATION_FOR := TeleService
+LOCAL_STATIC_JAVA_LIBRARIES := \
+ android-support-test \
+ mockito-target
+
include $(BUILD_PACKAGE)