private void launchIntent ( Intent intent ) { if ( intent == null ) { return ; } try { // If the intent was created from a suggestion, it will always have an explicit // component here. getContext ( ) . startActivity ( intent ) ; } catch ( RuntimeException ex ) { Log . e ( LOG_TAG , "Failed launch activity: " + intent , ex ) ; } }
Launches an intent including any special intent handling .