Clear enable_android_surface_clear_after_crash_report and disable_view_operations_after_catalyst_destroy

Summary: Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D26238985

fbshipit-source-id: 5aa1172e73dd6623e2af1acd909e1548e37e8f30
This commit is contained in:
Andrei Shikov
2021-02-05 07:01:10 -08:00
committed by Facebook GitHub Bot
parent 704dd2812f
commit 6061b79283
2 changed files with 1 additions and 6 deletions
@@ -54,9 +54,6 @@ public class ReactFeatureFlags {
/** Feature flag to configure eager initialization of Fabric */
public static boolean eagerInitializeFabric = false;
/** Disable UI update operations in non-Fabric renderer after catalyst instance was destroyed */
public static boolean disableNonFabricViewOperationsOnCatalystDestroy = false;
/**
* Fixes race-condition in the initialization of RN surface. TODO T78832286: remove this flag once
* we verify the fix is correct in production
@@ -787,9 +787,7 @@ public class UIImplementation {
public void onHostDestroy() {}
public void onCatalystInstanceDestroyed() {
if (ReactFeatureFlags.disableNonFabricViewOperationsOnCatalystDestroy) {
mViewOperationsEnabled = false;
}
mViewOperationsEnabled = false;
}
public void setViewHierarchyUpdateDebugListener(