Skip to content

Commit

Permalink
Reduce visibility in React Context
Browse files Browse the repository at this point in the history
Summary:
In this diff I'm reducing visibility of RCTDeviceEventEmitter interface in ReactContext.

This is an internal interface that has no usages externally (neither at Meta or github source)

changelog: [internal] internal

Reviewed By: cortinico, luluwu2032

Differential Revision: D46241623

fbshipit-source-id: d8d28880dafa7f1144f6d2bce46384d59143262b
  • Loading branch information
mdvacca committed Jun 5, 2023
1 parent e0a554d commit 52236be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
*/
public class ReactContext extends ContextWrapper {
@DoNotStrip
public interface RCTDeviceEventEmitter extends JavaScriptModule {
private interface RCTDeviceEventEmitter extends JavaScriptModule {
void emit(@NonNull String eventName, @Nullable Object data);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class MessageQueueThreadSpec {
// The Thread constructor interprets zero the same as not specifying a stack size
public static final long DEFAULT_STACK_SIZE_BYTES = 0;

protected static enum ThreadType {
protected enum ThreadType {
MAIN_UI,
NEW_BACKGROUND,
}
Expand Down

0 comments on commit 52236be

Please sign in to comment.