From 0cfb73de1c472a2cfd1928f9fc7651af70a1b686 Mon Sep 17 00:00:00 2001 From: Tsu Chiang Chuang Date: Thu, 20 Sep 2012 15:27:23 -0700 Subject: [PATCH] fix broken user build: do not throw an error when in user flavor. Change-Id: I43d210f1b342707acbdb79f9ef6c924b43684dd3 --- .../hosttests/test-apps/DownloadManagerTestApp/Android.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/tests/hosttests/test-apps/DownloadManagerTestApp/Android.mk b/core/tests/hosttests/test-apps/DownloadManagerTestApp/Android.mk index c0d3d608bc015..a28805801c9f7 100644 --- a/core/tests/hosttests/test-apps/DownloadManagerTestApp/Android.mk +++ b/core/tests/hosttests/test-apps/DownloadManagerTestApp/Android.mk @@ -26,10 +26,8 @@ LOCAL_SDK_VERSION := current LOCAL_PACKAGE_NAME := DownloadManagerTestApp ifneq ($(TARGET_BUILD_VARIANT),user) -# Need to run as system app to get access to Settings. +# Need to run as system app to get access to Settings. This test won't work for user builds. LOCAL_CERTIFICATE := platform -else -$(error "This test app will fail to run unless it is built in non-user mode.") endif include $(BUILD_PACKAGE)