summaryrefslogtreecommitdiffstats
path: root/core/tests
diff options
context:
space:
mode:
authorTsu Chiang Chuang <tsu@google.com>2012-09-20 15:27:23 -0700
committerTsu Chiang Chuang <tsu@google.com>2012-09-20 15:27:23 -0700
commit0cfb73de1c472a2cfd1928f9fc7651af70a1b686 (patch)
tree89868f1e85d807879a767db627471e87d28206b8 /core/tests
parent35fae68cc3eb21c15069c58d275a46537cc04f4a (diff)
downloadframeworks_base-0cfb73de1c472a2cfd1928f9fc7651af70a1b686.zip
frameworks_base-0cfb73de1c472a2cfd1928f9fc7651af70a1b686.tar.gz
frameworks_base-0cfb73de1c472a2cfd1928f9fc7651af70a1b686.tar.bz2
fix broken user build: do not throw an error when in user flavor.
Change-Id: I43d210f1b342707acbdb79f9ef6c924b43684dd3
Diffstat (limited to 'core/tests')
-rw-r--r--core/tests/hosttests/test-apps/DownloadManagerTestApp/Android.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/tests/hosttests/test-apps/DownloadManagerTestApp/Android.mk b/core/tests/hosttests/test-apps/DownloadManagerTestApp/Android.mk
index c0d3d60..a288058 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)