From d0839ab662d23cacc4f8d240ae0ae53ab5490f52 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Thu, 10 Mar 2016 17:20:46 -0800 Subject: [PATCH] Fix issue caught by Clang analyzer in the Flutter iOS framework --- sky/shell/platform/ios/FlutterViewController.mm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sky/shell/platform/ios/FlutterViewController.mm b/sky/shell/platform/ios/FlutterViewController.mm index 1ce68ce73f3..22ec377cd6c 100644 --- a/sky/shell/platform/ios/FlutterViewController.mm +++ b/sky/shell/platform/ios/FlutterViewController.mm @@ -441,10 +441,14 @@ static inline PointerTypeMapperPhase PointerTypePhaseFromUITouchPhase( - (void)viewDidAppear:(BOOL)animated { [self surfaceUpdated:YES]; + + [super viewWillAppear:animated]; } - (void)viewWillDisappear:(BOOL)animated { [self surfaceUpdated:NO]; + + [super viewWillDisappear:animated]; } - (UIStatusBarStyle)preferredStatusBarStyle {