presenter = presenterFactory.createPresenter();
PresenterStorage.INSTANCE.add(presenter);
presenter.create(bundle == null ? null : bundle.getBundle(PRESENTER_KEY));
}
bundle = null;
<BUG>}
return presenter;</BUG>
}
<BUG>public Bundle onSaveInstanceState() {

Bundle bundle = new Bundle();
getPresenter();
</BUG>
if (presenter != null) {

presenter = presenterFactory.createPresenter();
PresenterStorage.INSTANCE.add(presenter);
presenter.create(bundle == null ? null : bundle.getBundle(PRESENTER_KEY));
}
bundle = null;
}
presenter.takeView(view);
return presenter;
}
public Bundle onSaveInstanceState(Object view) {
Bundle bundle = new Bundle();
if (presenterFactory != null)
getPresenter(view);
if (presenter != null) {
