Skip to content

Commit b8893c7

Browse files
Deprecating create() for the Default Dev Support Manager Factory
Summary: Changelog: [Internal][Changeded] - facebook#31841 introduced customisations for DevSupportManager which made this create() redundant, hence deprecating and adding the annotation. Reviewed By: cipolleschi Differential Revision: D41292920 fbshipit-source-id: 9fc348a3f4f8f64ba6f7aee85f302e87e10e8cd5
1 parent 2eccd59 commit b8893c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ReactAndroid/src/main/java/com/facebook/react/devsupport/DefaultDevSupportManagerFactory.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ public class DefaultDevSupportManagerFactory implements DevSupportManagerFactory
2828
private static final String DEVSUPPORT_IMPL_PACKAGE = "com.facebook.react.devsupport";
2929
private static final String DEVSUPPORT_IMPL_CLASS = "BridgeDevSupportManager";
3030

31+
/** @deprecated in favor of the customisable create for DevSupportManagerFactory */
32+
@Deprecated
3133
public DevSupportManager create(
3234
Context applicationContext,
3335
ReactInstanceDevHelper reactInstanceDevHelper,

0 commit comments

Comments
 (0)