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:
Dulmandakh
2019-02-05 23:12:53 -08:00
committed by Facebook Github Bot
parent b6318acbab
commit a4840e7ae3
10 changed files with 10 additions and 53 deletions
@@ -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) {