notificationActivity.start(applicationView.getLogs(), place);
}
if (place instanceof HasPageName) {
final HasPageName pagePlace = (HasPageName) place;
final PageActivity pageActivity = pageProvider.getPageActivity(pagePlace.getPageName());
if (!com.ponysdk.core.security.SecurityManager.checkPermission(pageActivity.getPermission())) throw new RuntimeException("Missing permission #" + pageActivity.getPermission());
if (currentPageActivity != null) {
currentPageActivity.leave();
}
currentPageActivity = pageActivity;
pageActivity.start(applicationView.getBody(), place);
}
if (place instanceof HasActivity) {
final HasActivity activityPlace = (HasActivity) place;
activityPlace.getActivity().start(applicationView.getBody(), place);