Fix possible infinite loop in test code

Also handle ResourceBusyException

merge of http://go/wvgerrit/14470 from widevine repo

bug: 21172957
Change-Id: I6815786eb7a678725cf2632f1009c7f566ba7499
This commit is contained in:
Jeff Tinker
2015-05-27 16:45:36 -07:00
parent 997ea4f447
commit 92bf971ea8
3 changed files with 29 additions and 12 deletions

View File

@@ -7,7 +7,7 @@ LOCAL_CERTIFICATE := platform
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_JAVA_LIBRARIES := com.android.mediadrm.signer
LOCAL_JAVA_LIBRARIES := com.android.mediadrm.signer org.apache.http.legacy
LOCAL_PACKAGE_NAME := CastSignAPITest