revert auto-enabling semantics (flutter/engine#24978)
This commit is contained in:
@@ -1472,10 +1472,7 @@ class EngineSemanticsOwner {
|
||||
/// Updates the semantics tree from data in the [uiUpdate].
|
||||
void updateSemantics(ui.SemanticsUpdate uiUpdate) {
|
||||
if (!_semanticsEnabled) {
|
||||
// If we're receiving a semantics update from the framework, it means the
|
||||
// developer enabled it programmatically, so we enable it in the engine
|
||||
// too.
|
||||
semanticsEnabled = true;
|
||||
return;
|
||||
}
|
||||
|
||||
final SemanticsUpdate update = uiUpdate as SemanticsUpdate;
|
||||
|
||||
Reference in New Issue
Block a user