Fix build break: add java file changes to fbobjc

Reviewed By: jingc

Differential Revision: D2617489

fb-gh-sync-id: 3fa37dc52c526c79e3510754606e542b171b3a18
This commit is contained in:
Peter Lai 2015-11-04 14:14:26 -08:00 committed by facebook-github-bot-3
parent 471449b368
commit 59ed90dd5f
2 changed files with 24 additions and 0 deletions

View File

@ -20,6 +20,7 @@ import com.facebook.react.modules.core.DefaultHardwareBackBtnHandler;
import com.facebook.react.modules.core.DeviceEventManagerModule;
import com.facebook.react.modules.core.ExceptionsManagerModule;
import com.facebook.react.modules.core.JSTimersExecution;
import com.facebook.react.modules.core.RCTNativeAppEventEmitter;
import com.facebook.react.modules.core.Timing;
import com.facebook.react.modules.debug.AnimationsDebugModule;
import com.facebook.react.modules.debug.SourceCodeModule;
@ -74,6 +75,7 @@ import com.facebook.react.uimanager.events.RCTEventEmitter;
DeviceEventManagerModule.RCTDeviceEventEmitter.class,
JSTimersExecution.class,
RCTEventEmitter.class,
RCTNativeAppEventEmitter.class,
AppRegistry.class,
ReactNative.class,
DebugComponentOwnershipModule.RCTDebugComponentOwnership.class);

View File

@ -0,0 +1,22 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package com.facebook.react.modules.core;
import javax.annotation.Nullable;
import com.facebook.react.bridge.JavaScriptModule;
/**
* Module that handles global application events.
*/
public interface RCTNativeAppEventEmitter extends JavaScriptModule {
void emit(String eventName, @Nullable Object data);
}