private void updateNotification(String content){
  String ticker=String.format(getString(R.string.media_notif_ticker),getString(R.string.app_name));
  Intent showDetailsIntent=new Intent(this,FileDisplayActivity.class);
  showDetailsIntent.putExtra(FileActivity.EXTRA_FILE,mFile);
  showDetailsIntent.putExtra(FileActivity.EXTRA_ACCOUNT,mAccount);
  showDetailsIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
  mNotificationBuilder.setContentIntent(PendingIntent.getActivity(getApplicationContext(),(int)System.currentTimeMillis(),showDetailsIntent,PendingIntent.FLAG_UPDATE_CURRENT));
  mNotificationBuilder.setWhen(System.currentTimeMillis());
  mNotificationBuilder.setTicker(ticker);
  mNotificationBuilder.setContentTitle(ticker);
  mNotificationBuilder.setContentText(content);
  mNotificationManager.notify(R.string.media_notif_ticker,mNotificationBuilder.build());
}

private void updateNotification ( String content ) { String ticker = String . format ( getString ( R . string . media_notif_ticker ) , getString ( R . string . app_name ) ) ; Intent showDetailsIntent = new Intent ( this , FileDisplayActivity . class ) ; showDetailsIntent . putExtra ( FileActivity . EXTRA_FILE , mFile ) ; showDetailsIntent . putExtra ( FileActivity . EXTRA_ACCOUNT , mAccount ) ; showDetailsIntent . setFlags ( Intent . FLAG_ACTIVITY_CLEAR_TOP ) ; mNotificationBuilder . setContentIntent ( PendingIntent . getActivity ( getApplicationContext ( ) , ( int ) System . currentTimeMillis ( ) , showDetailsIntent , PendingIntent . FLAG_UPDATE_CURRENT ) ) ; mNotificationBuilder . setWhen ( System . currentTimeMillis ( ) ) ; mNotificationBuilder . setTicker ( ticker ) ; mNotificationBuilder . setContentTitle ( ticker ) ; mNotificationBuilder . setContentText ( content ) ; mNotificationManager . notify ( R . string . media_notif_ticker , mNotificationBuilder . build ( ) ) ; }
updates the status notification
