/*package*/ void showUserLanding() { if (getActivity() instanceof JRFragmentHostActivity || isSharingFlow()) { startActivityForFragId(JRFragmentHostActivity.JR_LANDING, REQUEST_LANDING); } else { showFragment(JRLandingFragment.class, REQUEST_LANDING); } }
/*package*/ void showWebView(boolean forSharingFlow) { if (getActivity() instanceof JRFragmentHostActivity || forSharingFlow) { Bundle opts = new Bundle(); opts.putInt( JR_FRAGMENT_FLOW_MODE, forSharingFlow ? JR_FRAGMENT_FLOW_SHARING : JR_FRAGMENT_FLOW_AUTH); startActivityForFragId(JRFragmentHostActivity.JR_WEBVIEW, REQUEST_WEBVIEW, opts); } else { showFragment(JRWebViewFragment.class, REQUEST_WEBVIEW); } }
/*package*/ void startNativeAuth() { showFragment(JRNativeAuthFragment.class, REQUEST_NATIVE); }