mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
remove redundant targetApi and version checks (#23302)
Summary: RN supports API 16 and above, but we have redundant historical artifacts where we check and target APIs 16 and below. This PR removes redundant artifacts. [Android] [Changed] - remove redundant targetApi and version checks Pull Request resolved: https://github.com/facebook/react-native/pull/23302 Differential Revision: D13970434 Pulled By: mdvacca fbshipit-source-id: 096b5ee6c8f076b0365e7dda0e77940290077ea2
This commit is contained in:
committed by
Facebook Github Bot
parent
b6318acbab
commit
a4840e7ae3
@@ -25,7 +25,7 @@ public class Arguments {
|
||||
object instanceof Long ||
|
||||
object instanceof Byte ||
|
||||
object instanceof Short) {
|
||||
return new Double(((Number) object).doubleValue());
|
||||
return ((Number) object).doubleValue();
|
||||
} else if (object.getClass().isArray()) {
|
||||
return makeNativeArray(object);
|
||||
} else if (object instanceof List) {
|
||||
|
||||
Reference in New Issue
Block a user