mirror of
https://github.com/flutter/flutter
synced 2024-08-27 20:10:11 +00:00
Enable jank metric collection in profile mode (#102334)
This commit is contained in:
parent
c9825d24dd
commit
512cbdb9da
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue