Skip to content

Commit 6cc5d7f

Browse files
Tsu Chiang ChuangAndroid (Google) Code Review
authored andcommitted
Merge "fix broken user build: do not throw an error when in user flavor." into jb-mr1-dev
2 parents c1ec220 + 0cfb73d commit 6cc5d7f

File tree

1 file changed

+1
-3
lines changed
  • core/tests/hosttests/test-apps/DownloadManagerTestApp

1 file changed

+1
-3
lines changed

core/tests/hosttests/test-apps/DownloadManagerTestApp/Android.mk

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ LOCAL_SDK_VERSION := current
2626
LOCAL_PACKAGE_NAME := DownloadManagerTestApp
2727

2828
ifneq ($(TARGET_BUILD_VARIANT),user)
29-
# Need to run as system app to get access to Settings.
29+
# Need to run as system app to get access to Settings. This test won't work for user builds.
3030
LOCAL_CERTIFICATE := platform
31-
else
32-
$(error "This test app will fail to run unless it is built in non-user mode.")
3331
endif
3432

3533
include $(BUILD_PACKAGE)

0 commit comments

Comments
 (0)