From 883f4651bc5cc744cd10bc646e41a981c71c4b1a Mon Sep 17 00:00:00 2001 From: Joshua Gross Date: Mon, 14 Jun 2021 19:43:03 -0700 Subject: [PATCH] Remove unused field Summary: This field doesn't serve a purpose anymore. Changelog: [Internal] Reviewed By: PeteTheHeat Differential Revision: D29118454 fbshipit-source-id: b755a761eb7e9854d48c99dfedaf2e871f29d7f7 --- .../facebook/react/fabric/mounting/SurfaceMountingManager.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java b/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java index 650c5b91276..41e1bc9f221 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java @@ -64,7 +64,6 @@ public class SurfaceMountingManager { // This is null *until* StopSurface is called. private Set mTagSetForStoppedSurface; - private long mLastSuccessfulQueryTime = -1; private final int mSurfaceId; @@ -139,7 +138,6 @@ public class SurfaceMountingManager { // deleted. This helps distinguish between scenarios where an invalid tag is referenced, vs // race conditions where an imperative method is called on a tag during/just after StopSurface. if (mTagSetForStoppedSurface != null && mTagSetForStoppedSurface.contains(tag)) { - mLastSuccessfulQueryTime = System.currentTimeMillis(); return true; } if (mTagToViewState == null) { @@ -267,7 +265,6 @@ public class SurfaceMountingManager { } // Evict all views from cache and memory - mLastSuccessfulQueryTime = System.currentTimeMillis(); mTagSetForStoppedSurface = mTagToViewState.keySet(); mTagToViewState = null; mJSResponderHandler = null;