Skip to content

Commit 29f20cf

Browse files
committed
build(SettingsLib/SettingsThemeFlags): match minSdk with Android.bp
Otherwise it will inherit the minSdk=29 value from android settings plugin declared in settings.gradle, which mismatches the SettingsTheme's property (minSdk=21). The Gradle build passes without it but we get lint errors. Signed-off-by: iusmac <iusico.maxim@libero.it>
1 parent dc027a2 commit 29f20cf

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

SettingsLib/SettingsThemeFlags/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ plugins {
55
android {
66
namespace 'com.android.settingslib.widget.theme.flags'
77

8+
defaultConfig {
9+
minSdk 21
10+
}
11+
812
sourceSets {
913
main {
1014
java.srcDirs = ['src']

0 commit comments

Comments
 (0)