|
@@ -199,7 +199,7 @@ public abstract class ScreenStarterPresenter<M extends ScreenStarterModel, V ext
|
|
|
go(ScreenID.SIGN_IN);
|
|
go(ScreenID.SIGN_IN);
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
- if (false == APIModuleHelper.isDispatched()) {
|
|
|
|
|
|
|
+ if (false == APIModuleHelper.isDispatched() && (view != null && view.getActivity() != null)) {
|
|
|
Intent intent = new Intent(view.getActivity(), MainActivity.class);
|
|
Intent intent = new Intent(view.getActivity(), MainActivity.class);
|
|
|
intent.putExtra(ScreenStarter.SCREEN_ID, screenId);
|
|
intent.putExtra(ScreenStarter.SCREEN_ID, screenId);
|
|
|
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
|
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|