library/src/main/java/com/okta/oidc/OktaAuthenticationActivity.java
/**
     * Called when the service is connected.
     * @param browserPackage browser package
     * @param customTabsClient a CustomTabsClient
     */
Called when the service is connected.
@param browserPackage browser package
@param customTabsClient a CustomTabsClient
Called when the service is connected . @param browserPackage browser package @param customTabsClient a CustomTabsClient
public void onServiceConnected(String browserPackage, CustomTabsClient customTabsClient) {
        CustomTabsSession session = null;
        if (customTabsClient != null) {
            customTabsClient.warmup(0);
            session = createSession(customTabsClient);
        }
        mAuthStarted = true;
        try {
            startActivity(createBrowserIntent(browserPackage, session));
        } catch (ActivityNotFoundException e) {
            sendResult(RESULT_CANCELED, getIntent().putExtra(EXTRA_EXCEPTION,
                    AuthorizationException.GeneralErrors.NO_BROWSER_FOUND.toJsonString()));
        }
    }
public void onServiceConnected ( String browserPackage , CustomTabsClient customTabsClient ) { CustomTabsSession session = null ; if ( customTabsClient != null ) { customTabsClient . warmup ( 0 ) ; session = createSession ( customTabsClient ) ; } mAuthStarted = true ; try { startActivity ( createBrowserIntent ( browserPackage , session ) ) ; } catch ( ActivityNotFoundException e ) { sendResult ( RESULT_CANCELED , getIntent ( ) . putExtra ( EXTRA_EXCEPTION , AuthorizationException . GeneralErrors . NO_BROWSER_FOUND . toJsonString ( ) ) ) ; } }
Called when the service is connected.
Called when the service is connected .