Commit 01af5a67 authored by Wei-Yin Chen (陳威尹)'s avatar Wei-Yin Chen (陳威尹) Committed by Commit Bot

Stop showing GTS performance toast in Canary

Bug: 971802
Change-Id: I2453fbb92e9d0e81bf1e42179e664cd9539595b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1705017Reviewed-by: default avatarYusuf Ozuysal <yusufo@chromium.org>
Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#680634}
parent dca5ac43
...@@ -388,8 +388,7 @@ public class StartSurfaceLayout extends Layout implements StartSurface.OverviewM ...@@ -388,8 +388,7 @@ public class StartSurfaceLayout extends Layout implements StartSurface.OverviewM
"fps = %.2f (%d / %dms), maxFrameInterval = %d, dirtySpan = %d", fps, frameRendered, "fps = %.2f (%d / %dms), maxFrameInterval = %d, dirtySpan = %d", fps, frameRendered,
elapsedMs, mMaxFrameInterval, dirtySpan); elapsedMs, mMaxFrameInterval, dirtySpan);
// TODO(crbug.com/964406): stop reporting on Canary before enabling in Finch. if (ChromeVersionInfo.isLocalBuild()) {
if (ChromeVersionInfo.isLocalBuild() || ChromeVersionInfo.isCanaryBuild()) {
Toast.makeText(ContextUtils.getApplicationContext(), message, Toast.LENGTH_SHORT) Toast.makeText(ContextUtils.getApplicationContext(), message, Toast.LENGTH_SHORT)
.show(); .show();
} }
......
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