admin
2021-07-28 c0269fcfa876b9c5cf309b2006462b4d09c5ef95
MDownloadProvider/src/com/mozillaonline/providers/downloads/ui/DownloadAdapter.java
@@ -122,7 +122,7 @@
   int progress = getProgressValue(totalBytes, currentBytes);
   boolean indeterminate = status == DownloadManager.STATUS_PENDING;
   ProgressBar progressBar = (ProgressBar) convertView
   ProgressBar progressBar = convertView
      .findViewById(R.id.download_progress);
   progressBar.setIndeterminate(indeterminate);
   if (!indeterminate) {
@@ -140,7 +140,7 @@
      mResources.getString(getStatusStringId(status)));
   setTextForView(convertView, R.id.last_modified_date, getDateString());
   CheckBox checkBox = (CheckBox) convertView
   CheckBox checkBox = convertView
      .findViewById(R.id.download_checkbox);
   checkBox.setChecked(mDownloadSelectionListener
      .isDownloadSelected(downloadId));
@@ -204,7 +204,7 @@
    private void retrieveAndSetIcon(View convertView) {
   String mediaType = mCursor.getString(mMediaTypeColumnId);
   ImageView iconView = (ImageView) convertView
   ImageView iconView = convertView
      .findViewById(R.id.download_icon);
   iconView.setVisibility(View.INVISIBLE);
@@ -228,7 +228,7 @@
    }
    private void setTextForView(View parent, int textViewId, String text) {
   TextView view = (TextView) parent.findViewById(textViewId);
   TextView view = parent.findViewById(textViewId);
   view.setText(text);
    }