Commit 29a03aaa authored by Chris Lu's avatar Chris Lu Committed by Chromium LUCI CQ

[ios] Move applicationWillEnterForeground: to outside dispatch delay

There is no need to delay the applicationWillEnterForeground: as part
of the main intent logging.

Bug: 1161529
Change-Id: Ia5a6226e5ce2547050246410a2b4e3a1a2845e1d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2622851Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Reviewed-by: default avatarJustin Cohen <justincohen@chromium.org>
Commit-Queue: Chris Lu <thegreenfrog@chromium.org>
Cr-Commit-Position: refs/heads/master@{#842207}
parent a0abc9a0
...@@ -326,12 +326,10 @@ const int kMainIntentCheckDelay = 1; ...@@ -326,12 +326,10 @@ const int kMainIntentCheckDelay = 1;
base::RecordAction( base::RecordAction(
base::UserMetricsAction("IOSOpenByMainIntent")); base::UserMetricsAction("IOSOpenByMainIntent"));
} }
[_appState
applicationWillEnterForeground:UIApplication.sharedApplication
metricsMediator:_metricsMediator
memoryHelper:_memoryHelper];
}); });
[_appState applicationWillEnterForeground:UIApplication.sharedApplication
metricsMediator:_metricsMediator
memoryHelper:_memoryHelper];
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment