Revert "[flutter_tools] wire up alternative invalidation strategy to features (#70865)" (#70884)

This reverts commit ef4741540b.
This commit is contained in:
Jonah Williams
2020-11-19 14:01:39 -08:00
committed by GitHub
parent 37f4f1f281
commit 7086a2f43b
4 changed files with 7 additions and 71 deletions

View File

@@ -730,8 +730,7 @@ class TestFeatureFlags implements FeatureFlags {
this.isAndroidEnabled = true,
this.isIOSEnabled = true,
this.isFuchsiaEnabled = false,
this.isExperimentalInvalidationStrategyEnabled = false,
});
});
@override
final bool isLinuxEnabled;
@@ -757,9 +756,6 @@ class TestFeatureFlags implements FeatureFlags {
@override
final bool isFuchsiaEnabled;
@override
final bool isExperimentalInvalidationStrategyEnabled;
@override
bool isEnabled(Feature feature) {
switch (feature) {
@@ -779,8 +775,6 @@ class TestFeatureFlags implements FeatureFlags {
return isIOSEnabled;
case flutterFuchsiaFeature:
return isFuchsiaEnabled;
case experimentalInvalidationStrategy:
return isExperimentalInvalidationStrategyEnabled;
}
return false;
}