Reverted commit D3334273

Reviewed By: astreet

Differential Revision: D3334273

fbshipit-source-id: a3849604ea89db74900850c294685e7da9aeeacc
This commit is contained in:
Aaron Chiu 2016-08-12 15:49:13 -07:00 committed by Facebook Github Bot 7
parent 07a31681d7
commit ba17804764
1 changed files with 6 additions and 2 deletions

View File

@ -50,7 +50,6 @@ import com.facebook.react.bridge.WritableArray;
import com.facebook.react.bridge.WritableMap;
import com.facebook.react.bridge.WritableNativeArray;
import com.facebook.react.bridge.WritableNativeMap;
import com.facebook.react.bridge.annotations.ReactModule;
import com.facebook.react.common.ReactConstants;
// TODO #6015104: rename to something less iOSish
@ -58,7 +57,6 @@ import com.facebook.react.common.ReactConstants;
* {@link NativeModule} that allows JS to interact with the photos on the device (i.e.
* {@link MediaStore.Images}).
*/
@ReactModule(name = "RKCameraRollManager")
public class CameraRollManager extends ReactContextBaseJavaModule {
private static final String ERROR_UNABLE_TO_LOAD = "E_UNABLE_TO_LOAD";
@ -100,6 +98,11 @@ public class CameraRollManager extends ReactContextBaseJavaModule {
super(reactContext);
}
@Override
public String getName() {
return "RKCameraRollManager";
}
@Override
public Map<String, Object> getConstants() {
return Collections.emptyMap();
@ -437,4 +440,5 @@ public class CameraRollManager extends ReactContextBaseJavaModule {
node.putMap("location", location);
}
}
}