Skip to content

Commit b42e71e

Browse files
committed
Change the implementation of shouldProjectDisableAbiFiltering to check the value of the property
1 parent 4c28da0 commit b42e71e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/flutter_tools/gradle/src/main/kotlin/FlutterPluginUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ object FlutterPluginUtils {
208208

209209
@JvmStatic
210210
@JvmName("shouldProjectDisableAbiFiltering")
211-
internal fun shouldProjectDisableAbiFiltering(project: Project): Boolean = project.hasProperty(PROP_DISABLE_ABI_FILTERING)
211+
internal fun shouldProjectDisableAbiFiltering(project: Project): Boolean = project.findProperty(PROP_DISABLE_ABI_FILTERING)?.toString()?.toBoolean() ?: false
212212

213213
/**
214214
* TODO: Remove this AGP hack. https://github.com/flutter/flutter/issues/109560

0 commit comments

Comments
 (0)