Clean out some excess logging

Change-Id: I3207086bae63f077c5808fba10e9fec9931ab4f1
GitHub: https://github.com/wikimedia/apps-android-commons/pull/3
This commit is contained in:
YuviPanda 2013-06-12 21:40:25 +00:00 committed by SuchABot
parent 296fad4bf8
commit 19b389af96

View file

@ -104,7 +104,6 @@ public class MediaWikiImageView extends ImageView {
// We ignore it if the image request was for either the current URL of for the full URL // We ignore it if the image request was for either the current URL of for the full URL
// Since the full URL is always the second, and // Since the full URL is always the second, and
if (mImageContainer != null && mImageContainer.getRequestUrl() != null) { if (mImageContainer != null && mImageContainer.getRequestUrl() != null) {
Log.d("Commons", "Older one is " + mImageContainer.getRequestUrl() + " new one is " + mUrl);
if (mImageContainer.getRequestUrl().equals(mMedia.getImageUrl()) || mImageContainer.getRequestUrl().equals(mUrl)) { if (mImageContainer.getRequestUrl().equals(mMedia.getImageUrl()) || mImageContainer.getRequestUrl().equals(mUrl)) {
return; return;
} else { } else {
@ -126,7 +125,6 @@ public class MediaWikiImageView extends ImageView {
new ImageListener() { new ImageListener() {
@Override @Override
public void onErrorResponse(final VolleyError error) { public void onErrorResponse(final VolleyError error) {
Log.d("Commons", "Error: or Url " + mUrl + " value is " + tryOriginal);
if(!tryOriginal) { if(!tryOriginal) {
post(new Runnable() { post(new Runnable() {
public void run() { public void run() {
@ -162,8 +160,7 @@ public class MediaWikiImageView extends ImageView {
loadingView.setVisibility(View.GONE); loadingView.setVisibility(View.GONE);
} }
} else { } else {
Log.d("Commons", "Whelp, fully can not load an image at all!"); // I'm not really sure where this would hit but not onError
// We got nothing back, figure out some sort of a solution?
} }
} }
}); });