Added back in empty lifecycle events so we don't break people that used to call super. (flutter/engine#13421)

This commit is contained in:
gaaclarke
2019-10-29 16:04:59 -07:00
committed by GitHub
parent e92c42f0aa
commit 3c497a831e

View File

@@ -57,6 +57,26 @@ static NSString* kBackgroundFetchCapatibility = @"fetch";
[[self class] handleStatusBarTouches:touches withEvent:event];
}
// Do not remove, some clients may be calling these via `super`.
- (void)applicationDidEnterBackground:(UIApplication*)application {
}
// Do not remove, some clients may be calling these via `super`.
- (void)applicationWillEnterForeground:(UIApplication*)application {
}
// Do not remove, some clients may be calling these via `super`.
- (void)applicationWillResignActive:(UIApplication*)application {
}
// Do not remove, some clients may be calling these via `super`.
- (void)applicationDidBecomeActive:(UIApplication*)application {
}
// Do not remove, some clients may be calling these via `super`.
- (void)applicationWillTerminate:(UIApplication*)application {
}
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
- (void)application:(UIApplication*)application