mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove unused field
Summary: This field doesn't serve a purpose anymore. Changelog: [Internal] Reviewed By: PeteTheHeat Differential Revision: D29118454 fbshipit-source-id: b755a761eb7e9854d48c99dfedaf2e871f29d7f7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e67007c928
commit
883f4651bc
-3
@@ -64,7 +64,6 @@ public class SurfaceMountingManager {
|
||||
|
||||
// This is null *until* StopSurface is called.
|
||||
private Set<Integer> 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;
|
||||
|
||||
Reference in New Issue
Block a user