Merge "releasetools: Fix the broken validate_target_files.py." into pi-dev
diff --git a/core/sdk_check.mk b/core/sdk_check.mk
index a34f83c..c5c2bc8 100644
--- a/core/sdk_check.mk
+++ b/core/sdk_check.mk
@@ -3,11 +3,6 @@
# set correctly.
# Should be included by java targets that allow specifying LOCAL_SDK_VERSION.
-
-ifeq (,$(JAVA_SDK_ENFORCEMENT_ERROR))
- JAVA_SDK_ENFORCEMENT_ERROR := APPS
-endif
-
ifeq ($(LOCAL_SDK_VERSION)$(LOCAL_PRIVATE_PLATFORM_APIS),)
ifneq ($(JAVA_SDK_ENFORCEMENT_WARNING),)
$(warning Java modules must specify LOCAL_SDK_VERSION or LOCAL_PRIVATE_PLATFORM_APIS, but $(LOCAL_MODULE) specifies neither.)