private synchronized void startAuthenticateUI ( BoxSession session ) { Context context = session . getApplicationContext ( ) ; Intent intent = OAuthActivity . createOAuthActivityIntent ( context , session , BoxAuthentication . isBoxAuthAppAvailable ( context ) && session . isEnabledBoxAppAuthentication ( ) ) ; intent . addFlags ( Intent . FLAG_ACTIVITY_NEW_TASK ) ; context . startActivity ( intent ) ; }
Start authentication UI .