commit | 03089e2445101e1a2dce3b89262abfdb107def6f | [log] [tgz] |
---|---|---|
author | Xi Han <hanxi@google.com> | Fri Dec 07 01:15:25 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 07 01:15:25 2018 |
tree | a8f368dc1d906c39396edc1cc2fa11a703b05f82 | |
parent | 8e1e2d94aa4b3a81993943ac762d6ae0ef585e7c [diff] |
Fix org.chromium.content.browser.BrowserStartupControllerTest failures on Android. The crash is caused due to junit test BrowserStartupControllerTest doesn't initialize the native but call serviceManagerStartupComplete. In that function, we record startup metrics and failed due to native doesn't initialized. Therefore, we add a protect function for the metrics record and override it in the TestBrowserStartupController. Bug: 912619 Change-Id: Ifa6ba36bc926f0f033f7df0f4e6a67fce0ca340f Reviewed-on: https://chromium-review.googlesource.com/c/1366717 Reviewed-by: Yaron Friedman <yfriedman@chromium.org> Commit-Queue: Xi Han <hanxi@chromium.org> Cr-Commit-Position: refs/heads/master@{#614537}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .