Enable jank metric collection in profile mode (#102334)

This commit is contained in:
Kaushik Iska
2022-04-21 18:54:13 -04:00
committed by GitHub
parent c9825d24dd
commit 512cbdb9da

View File

@@ -682,7 +682,7 @@ abstract class ResidentHandlers {
/// use case is to look at the various layers in proportion to see what
/// contributes the most towards raster performance.
Future<bool> debugFrameJankMetrics() async {
if (!supportsServiceProtocol || !isRunningDebug) {
if (!supportsServiceProtocol) {
return false;
}
for (final FlutterDevice device in flutterDevices) {