Skip to content

Commit

Permalink
Revert "Hide a11y elements when resigning active (flutter#29566)"
Browse files Browse the repository at this point in the history
This reverts commit ba1863a.
  • Loading branch information
yx-mike committed Jan 12, 2022
1 parent 82a663f commit ed5062f
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -797,15 +797,13 @@ - (void)dealloc {

- (void)applicationBecameActive:(NSNotification*)notification {
TRACE_EVENT0("flutter", "applicationBecameActive");
self.view.accessibilityElementsHidden = NO;
if (_viewportMetrics.physical_width)
[self surfaceUpdated:YES];
[self goToApplicationLifecycle:@"AppLifecycleState.resumed"];
}

- (void)applicationWillResignActive:(NSNotification*)notification {
TRACE_EVENT0("flutter", "applicationWillResignActive");
self.view.accessibilityElementsHidden = YES;
[self goToApplicationLifecycle:@"AppLifecycleState.inactive"];
}

Expand Down

0 comments on commit ed5062f

Please sign in to comment.