question: public static void updateMediaNotificationForTab ( Context context , int tabId , boolean audioCapture , boolean videoCapture , boolean audioPlayback , String fullUrl ) { int mediaType = getMediaType ( audioCapture , videoCapture , audioPlayback ) ; if ( ! shouldStartService ( context , mediaType , tabId ) ) return ; Intent intent = new Intent ( context , MediaNotificationService . class ) ; intent . putExtra ( NOTIFICATION_ID_EXTRA , tabId ) ; String baseUrl = fullUrl ; try { URL url = new URL ( fullUrl ) ; baseUrl = url . getProtocol ( ) + "://" + url . getHost ( ) ; } catch ( MalformedURLException e ) { Log . w ( LOG_TAG , "Error parsing the webrtc url " + fullUrl ) ; } intent . putExtra ( NOTIFICATION_MEDIA_URL_EXTRA , baseUrl ) ; intent . putExtra ( NOTIFICATION_MEDIA_TYPE_EXTRA , mediaType ) ; context . startService ( intent ) ; }
target:  Send an intent to MediaNotificationService to either create, update or destroy the notification identified by tabId.