diff --git a/android/src/main/java/com/github/doomsower/RNStartupTimeModule.java b/android/src/main/java/com/github/doomsower/RNStartupTimeModule.java index cc92d3a..9a76cc8 100644 --- a/android/src/main/java/com/github/doomsower/RNStartupTimeModule.java +++ b/android/src/main/java/com/github/doomsower/RNStartupTimeModule.java @@ -31,7 +31,7 @@ public String getName() { public void getTimeSinceStartup(Promise promise) { int ms = (int) (SystemClock.uptimeMillis() - startMark); Activity activity = getCurrentActivity(); - if (activity != null && Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { + if (activity != null && Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { activity.reportFullyDrawn(); } promise.resolve(ms);