From 30d0bdf739a411e5b4bf299b923ca4df8f5698c3 Mon Sep 17 00:00:00 2001 From: Aaron Chiu Date: Wed, 26 Apr 2017 20:11:37 -0700 Subject: [PATCH] fix lint Reviewed By: javache Differential Revision: D4953667 fbshipit-source-id: e27f9df072f2e89b541c9ef46c637987c27d1d99 --- .../src/main/java/com/facebook/react/ReactInstanceManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java b/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java index 020ac08b69d15d..4e61fa36a6662d 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java @@ -409,7 +409,8 @@ public void onNewIntent(Intent intent) { if (Intent.ACTION_VIEW.equals(action) && uri != null) { DeviceEventManagerModule deviceEventManagerModule = - Assertions.assertNotNull(mCurrentReactContext).getNativeModule(DeviceEventManagerModule.class); + Assertions.assertNotNull(mCurrentReactContext) + .getNativeModule(DeviceEventManagerModule.class); deviceEventManagerModule.emitNewIntentReceived(uri); }