fix broken user build: do not throw an error when in user flavor.

Change-Id: I43d210f1b342707acbdb79f9ef6c924b43684dd3
This commit is contained in:
Tsu Chiang Chuang
2012-09-20 15:27:23 -07:00
parent 35fae68cc3
commit 0cfb73de1c

View File

@@ -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)