[iOS][MW] Fixing AppState will enter foreground
UIApplicationWillEnterForeground doesn't exist with MultiWindow enabled. To keep the same behavior in Chrome, MainApplicationDelegate needs to listen to UISceneWillEnterForegroundNotification notifications. When the first window goes back to foreground, the method needs be called: -[AppState applicationWillEnterForeground:metricsMediator:memoryHelper: tabOpener:] Related to crbug.com/1097080: "AuthenticationService should not rely on foreground/background notifications" Fixed: 1092485, 1090748 Change-Id: Ic248fa9c88a10bb3340b1a4f32efa75b9b751491 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2252103 Commit-Queue: Jérôme Lebel <jlebel@chromium.org> Reviewed-by:Mark Cogan <marq@chromium.org> Reviewed-by:
Nohemi Fernandez <fernandex@chromium.org> Cr-Commit-Position: refs/heads/master@{#781224}
Showing
Please register or sign in to comment