|
@@ -17,7 +17,6 @@ import com.reactnativenavigation.params.TitleBarLeftButtonParams;
|
17
|
17
|
import com.reactnativenavigation.react.JsDevReloadHandler;
|
18
|
18
|
import com.reactnativenavigation.react.ReactGateway;
|
19
|
19
|
import com.reactnativenavigation.react.RedboxPermission;
|
20
|
|
-import com.reactnativenavigation.utils.IntentUtils;
|
21
|
20
|
|
22
|
21
|
import java.util.List;
|
23
|
22
|
|
|
@@ -44,13 +43,11 @@ public class NavigationActivity extends AppCompatActivity implements DefaultHard
|
44
|
43
|
|
45
|
44
|
if (!NavigationApplication.instance.isReactContextInitialized()) {
|
46
|
45
|
waitingForNewJsContext = true;
|
47
|
|
- finish();
|
48
|
|
- startActivity(IntentUtils.getLauncherIntent());
|
|
46
|
+ recreate();
|
49
|
47
|
return;
|
50
|
48
|
}
|
51
|
49
|
|
52
|
50
|
RedboxPermission.permissionToShowRedboxIfNeeded(this);
|
53
|
|
-
|
54
|
51
|
activityParams = NavigationCommandsHandler.parseActivityParams(getIntent());
|
55
|
52
|
|
56
|
53
|
createLayout();
|