mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-01 14:25:08 +08:00
Merge AndroidConstants and IOSConstants into PlatformConstants
Reviewed By: AaaChiuuu Differential Revision: D4597790 fbshipit-source-id: 0a54598d6e9cadb75efff4ac17c13899d6785f9b
This commit is contained in:
committed by
Facebook Github Bot
parent
68135d90a4
commit
dba133a291
@@ -22,14 +22,14 @@ import javax.annotation.Nullable;
|
||||
/**
|
||||
* Module that exposes Android Constants to JS.
|
||||
*/
|
||||
@ReactModule(name = "AndroidConstants")
|
||||
@ReactModule(name = "PlatformConstants")
|
||||
public class AndroidInfoModule extends BaseJavaModule {
|
||||
|
||||
private static final String IS_TESTING = "IS_TESTING";
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "AndroidConstants";
|
||||
return "PlatformConstants";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user