Skip to content

Commit 972a30d

Browse files
huntiemeta-codesync[bot]
authored andcommitted
Increase trace screenshot scale factor to 1x (#56079)
Summary: Pull Request resolved: #56079 Stacked on the current set of improvements, now further increase screenshot quality on Android. Changelog: [Internal] Reviewed By: rubennorte Differential Revision: D96382172 fbshipit-source-id: 1f850d249142a7438eb0064194fac16ce6c9ae89
1 parent d3b33f5 commit 972a30d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/inspector/FrameTimingsObserver.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ internal class FrameTimingsObserver(
264264
}
265265

266266
companion object {
267-
private const val SCREENSHOT_SCALE_FACTOR = 0.75f
267+
private const val SCREENSHOT_SCALE_FACTOR = 1.0f
268268
private const val SCREENSHOT_QUALITY = 80
269269

270270
// Capacity hint for the ByteArrayOutputStream used during bitmap

0 commit comments

Comments
 (0)