Skip to content

Commit ef2cdac

Browse files
lukmccallzoontek
authored andcommitted
Disable default FPS debug overlay (#44)
1 parent 4d53569 commit ef2cdac

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,8 @@ public abstract class DevSupportManagerBase(
983983
// reload settings, show/hide debug overlay if required & start/stop shake detector
984984
if (isDevSupportEnabled) {
985985
// update visibility of FPS debug overlay depending on the settings
986-
debugOverlayController?.setFpsDebugViewVisible(devSettings.isFpsDebugEnabled)
986+
// NOTE(lukmccall): We have our own performance monitor overlay, so we disable the default one.
987+
debugOverlayController?.setFpsDebugViewVisible(false)
987988

988989
// start shake gesture detector
989990
if (!isShakeDetectorStarted && shakeGestureEnabled) {

0 commit comments

Comments
 (0)