OSDN Git Service

Fix ManifestMerger issues
authorColin Cross <ccross@android.com>
Thu, 14 Jun 2018 22:23:21 +0000 (15:23 -0700)
committerColin Cross <ccross@android.com>
Thu, 14 Jun 2018 22:25:20 +0000 (15:25 -0700)
Set LOCAL_MIN_SDK_VERSION in SettingsLib so that the build system
doesn't raise the minSdkVersion value specified in the manifest,
which causes ManifestMerger to error when trying to merge it into
a package that specifies a lower minSdkVersion.

Bug: 78447299
Test: m java
Change-Id: Ie2c2458647cd6495418999b35894dc92343992cc

packages/SettingsLib/Android.mk

index fd7c87e..c9f9972 100644 (file)
@@ -21,6 +21,8 @@ LOCAL_JAR_EXCLUDE_FILES := none
 
 LOCAL_SRC_FILES := $(call all-java-files-under, src)
 
+LOCAL_MIN_SDK_VERSION := 21
+
 include $(BUILD_STATIC_JAVA_LIBRARY)
 
 # For the test package.